./Ultimate.py --spec ../sv-benchmarks/c/properties/unreach-call.prp --file ../sv-benchmarks/c/ldv-linux-4.2-rc1/linux-4.2-rc1.tar.xz-32_7a-drivers--char--lp.ko-entry_point.cil.out.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 9c1b5966 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../sv-benchmarks/c/ldv-linux-4.2-rc1/linux-4.2-rc1.tar.xz-32_7a-drivers--char--lp.ko-entry_point.cil.out.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 96a9bd06c2a0348ab1a93991deedda2ae571d70e4f7fb0e32175d69384f432c0 ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Result: TRUE --- Real Ultimate output --- This is Ultimate 0.2.1-dev-9c1b596 [2021-10-31 03:16:29,544 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-10-31 03:16:29,552 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-10-31 03:16:29,603 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-10-31 03:16:29,604 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-10-31 03:16:29,607 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-10-31 03:16:29,609 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-10-31 03:16:29,611 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-10-31 03:16:29,613 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-10-31 03:16:29,617 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-10-31 03:16:29,618 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-10-31 03:16:29,619 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-10-31 03:16:29,620 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-10-31 03:16:29,622 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-10-31 03:16:29,623 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-10-31 03:16:29,627 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-10-31 03:16:29,628 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-10-31 03:16:29,629 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-10-31 03:16:29,631 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-10-31 03:16:29,637 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-10-31 03:16:29,638 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-10-31 03:16:29,639 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-10-31 03:16:29,640 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-10-31 03:16:29,641 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-10-31 03:16:29,647 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-10-31 03:16:29,647 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-10-31 03:16:29,648 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-10-31 03:16:29,649 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-10-31 03:16:29,650 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-10-31 03:16:29,650 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-10-31 03:16:29,651 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-10-31 03:16:29,652 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-10-31 03:16:29,653 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-10-31 03:16:29,654 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-10-31 03:16:29,656 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-10-31 03:16:29,656 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-10-31 03:16:29,657 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-10-31 03:16:29,657 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-10-31 03:16:29,657 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-10-31 03:16:29,658 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-10-31 03:16:29,658 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-10-31 03:16:29,659 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Default.epf [2021-10-31 03:16:29,692 INFO L113 SettingsManager]: Loading preferences was successful [2021-10-31 03:16:29,692 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-10-31 03:16:29,693 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-10-31 03:16:29,693 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-10-31 03:16:29,694 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-10-31 03:16:29,695 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-10-31 03:16:29,695 INFO L138 SettingsManager]: * Use SBE=true [2021-10-31 03:16:29,695 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-10-31 03:16:29,695 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-10-31 03:16:29,695 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-10-31 03:16:29,696 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2021-10-31 03:16:29,696 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-10-31 03:16:29,697 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2021-10-31 03:16:29,697 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-10-31 03:16:29,697 INFO L138 SettingsManager]: * Use constant arrays=true [2021-10-31 03:16:29,697 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2021-10-31 03:16:29,697 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-10-31 03:16:29,697 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-10-31 03:16:29,698 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2021-10-31 03:16:29,698 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-10-31 03:16:29,698 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-10-31 03:16:29,698 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-10-31 03:16:29,698 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2021-10-31 03:16:29,699 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-10-31 03:16:29,699 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2021-10-31 03:16:29,699 INFO L138 SettingsManager]: * Large block encoding in concurrent analysis=OFF [2021-10-31 03:16:29,699 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2021-10-31 03:16:29,699 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2021-10-31 03:16:29,700 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-10-31 03:16:29,700 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 96a9bd06c2a0348ab1a93991deedda2ae571d70e4f7fb0e32175d69384f432c0 [2021-10-31 03:16:29,921 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-10-31 03:16:29,940 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-10-31 03:16:29,943 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-10-31 03:16:29,945 INFO L271 PluginConnector]: Initializing CDTParser... [2021-10-31 03:16:29,947 INFO L275 PluginConnector]: CDTParser initialized [2021-10-31 03:16:29,948 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/ldv-linux-4.2-rc1/linux-4.2-rc1.tar.xz-32_7a-drivers--char--lp.ko-entry_point.cil.out.i [2021-10-31 03:16:30,016 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d77e3ae4e/5e7fbb3d4c6e423491a064047b75a53d/FLAGcc8d6c497 [2021-10-31 03:16:30,739 INFO L306 CDTParser]: Found 1 translation units. [2021-10-31 03:16:30,740 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/ldv-linux-4.2-rc1/linux-4.2-rc1.tar.xz-32_7a-drivers--char--lp.ko-entry_point.cil.out.i [2021-10-31 03:16:30,785 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d77e3ae4e/5e7fbb3d4c6e423491a064047b75a53d/FLAGcc8d6c497 [2021-10-31 03:16:31,030 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d77e3ae4e/5e7fbb3d4c6e423491a064047b75a53d [2021-10-31 03:16:31,033 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-10-31 03:16:31,034 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-10-31 03:16:31,038 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-10-31 03:16:31,039 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-10-31 03:16:31,042 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-10-31 03:16:31,042 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 31.10 03:16:31" (1/1) ... [2021-10-31 03:16:31,043 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@438e527d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.10 03:16:31, skipping insertion in model container [2021-10-31 03:16:31,043 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 31.10 03:16:31" (1/1) ... [2021-10-31 03:16:31,054 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-10-31 03:16:31,154 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-10-31 03:16:32,353 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/ldv-linux-4.2-rc1/linux-4.2-rc1.tar.xz-32_7a-drivers--char--lp.ko-entry_point.cil.out.i[147706,147719] [2021-10-31 03:16:32,506 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-31 03:16:32,548 INFO L203 MainTranslator]: Completed pre-run [2021-10-31 03:16:32,791 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/ldv-linux-4.2-rc1/linux-4.2-rc1.tar.xz-32_7a-drivers--char--lp.ko-entry_point.cil.out.i[147706,147719] [2021-10-31 03:16:32,815 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-31 03:16:32,870 INFO L208 MainTranslator]: Completed translation [2021-10-31 03:16:32,870 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.10 03:16:32 WrapperNode [2021-10-31 03:16:32,870 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-10-31 03:16:32,873 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-10-31 03:16:32,873 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-10-31 03:16:32,873 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-10-31 03:16:32,881 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.10 03:16:32" (1/1) ... [2021-10-31 03:16:32,948 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.10 03:16:32" (1/1) ... [2021-10-31 03:16:33,179 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-10-31 03:16:33,180 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-10-31 03:16:33,180 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-10-31 03:16:33,180 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-10-31 03:16:33,187 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.10 03:16:32" (1/1) ... [2021-10-31 03:16:33,187 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.10 03:16:32" (1/1) ... [2021-10-31 03:16:33,214 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.10 03:16:32" (1/1) ... [2021-10-31 03:16:33,215 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.10 03:16:32" (1/1) ... [2021-10-31 03:16:33,295 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.10 03:16:32" (1/1) ... [2021-10-31 03:16:33,314 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.10 03:16:32" (1/1) ... [2021-10-31 03:16:33,331 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.10 03:16:32" (1/1) ... [2021-10-31 03:16:33,359 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-10-31 03:16:33,360 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-10-31 03:16:33,360 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-10-31 03:16:33,360 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-10-31 03:16:33,361 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.10 03:16:32" (1/1) ... [2021-10-31 03:16:33,368 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-10-31 03:16:33,378 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-10-31 03:16:33,397 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2021-10-31 03:16:33,424 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2021-10-31 03:16:33,445 INFO L130 BoogieDeclarations]: Found specification of procedure strncmp [2021-10-31 03:16:33,446 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-10-31 03:16:33,446 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2021-10-31 03:16:33,447 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-10-31 03:16:33,447 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2021-10-31 03:16:33,447 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2021-10-31 03:16:33,447 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2021-10-31 03:16:33,448 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2021-10-31 03:16:33,448 INFO L130 BoogieDeclarations]: Found specification of procedure memchr [2021-10-31 03:16:33,448 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2021-10-31 03:16:33,448 INFO L130 BoogieDeclarations]: Found specification of procedure __bad_percpu_size [2021-10-31 03:16:33,448 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-10-31 03:16:33,448 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-10-31 03:16:33,448 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-10-31 03:16:37,077 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-10-31 03:16:37,078 INFO L299 CfgBuilder]: Removed 1183 assume(true) statements. [2021-10-31 03:16:37,081 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 31.10 03:16:37 BoogieIcfgContainer [2021-10-31 03:16:37,082 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-10-31 03:16:37,084 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2021-10-31 03:16:37,084 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2021-10-31 03:16:37,087 INFO L275 PluginConnector]: TraceAbstraction initialized [2021-10-31 03:16:37,087 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 31.10 03:16:31" (1/3) ... [2021-10-31 03:16:37,088 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7a59412b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 31.10 03:16:37, skipping insertion in model container [2021-10-31 03:16:37,088 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.10 03:16:32" (2/3) ... [2021-10-31 03:16:37,089 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7a59412b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 31.10 03:16:37, skipping insertion in model container [2021-10-31 03:16:37,089 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 31.10 03:16:37" (3/3) ... [2021-10-31 03:16:37,090 INFO L111 eAbstractionObserver]: Analyzing ICFG linux-4.2-rc1.tar.xz-32_7a-drivers--char--lp.ko-entry_point.cil.out.i [2021-10-31 03:16:37,095 INFO L204 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2021-10-31 03:16:37,096 INFO L163 ceAbstractionStarter]: Applying trace abstraction to program that has 21 error locations. [2021-10-31 03:16:37,149 INFO L338 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2021-10-31 03:16:37,155 INFO L339 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mLoopAccelerationTechnique=FAST_UPR [2021-10-31 03:16:37,156 INFO L340 AbstractCegarLoop]: Starting to check reachability of 21 error locations. [2021-10-31 03:16:37,188 INFO L276 IsEmpty]: Start isEmpty. Operand has 1215 states, 1193 states have (on average 1.4283319362950544) internal successors, (1704), 1214 states have internal predecessors, (1704), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:37,197 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 69 [2021-10-31 03:16:37,197 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:37,198 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:37,199 INFO L402 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr6ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:37,203 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:37,204 INFO L85 PathProgramCache]: Analyzing trace with hash -921687816, now seen corresponding path program 1 times [2021-10-31 03:16:37,212 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:37,212 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [158843057] [2021-10-31 03:16:37,213 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:37,214 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:37,410 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:37,598 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-31 03:16:37,599 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:37,600 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [158843057] [2021-10-31 03:16:37,601 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [158843057] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:37,601 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:37,601 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-31 03:16:37,603 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [795941292] [2021-10-31 03:16:37,608 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2021-10-31 03:16:37,608 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:37,624 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2021-10-31 03:16:37,625 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2021-10-31 03:16:37,630 INFO L87 Difference]: Start difference. First operand has 1215 states, 1193 states have (on average 1.4283319362950544) internal successors, (1704), 1214 states have internal predecessors, (1704), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand has 2 states, 2 states have (on average 34.0) internal successors, (68), 2 states have internal predecessors, (68), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:37,719 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:37,719 INFO L93 Difference]: Finished difference Result 2426 states and 3403 transitions. [2021-10-31 03:16:37,719 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2021-10-31 03:16:37,721 INFO L78 Accepts]: Start accepts. Automaton has has 2 states, 2 states have (on average 34.0) internal successors, (68), 2 states have internal predecessors, (68), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 68 [2021-10-31 03:16:37,722 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:37,743 INFO L225 Difference]: With dead ends: 2426 [2021-10-31 03:16:37,744 INFO L226 Difference]: Without dead ends: 1206 [2021-10-31 03:16:37,754 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2021-10-31 03:16:37,771 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1206 states. [2021-10-31 03:16:37,842 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1206 to 1206. [2021-10-31 03:16:37,846 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 1206 states, 1185 states have (on average 1.3940928270042194) internal successors, (1652), 1205 states have internal predecessors, (1652), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:37,850 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1206 states to 1206 states and 1652 transitions. [2021-10-31 03:16:37,852 INFO L78 Accepts]: Start accepts. Automaton has 1206 states and 1652 transitions. Word has length 68 [2021-10-31 03:16:37,852 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:37,852 INFO L470 AbstractCegarLoop]: Abstraction has 1206 states and 1652 transitions. [2021-10-31 03:16:37,853 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 34.0) internal successors, (68), 2 states have internal predecessors, (68), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:37,853 INFO L276 IsEmpty]: Start isEmpty. Operand 1206 states and 1652 transitions. [2021-10-31 03:16:37,861 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 69 [2021-10-31 03:16:37,861 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:37,861 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:37,862 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2021-10-31 03:16:37,862 INFO L402 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr6ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:37,864 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:37,865 INFO L85 PathProgramCache]: Analyzing trace with hash 1043006210, now seen corresponding path program 1 times [2021-10-31 03:16:37,865 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:37,868 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [451447521] [2021-10-31 03:16:37,869 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:37,869 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:37,931 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:38,070 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-31 03:16:38,070 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:38,070 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [451447521] [2021-10-31 03:16:38,070 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [451447521] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:38,071 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:38,071 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-31 03:16:38,071 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1527003836] [2021-10-31 03:16:38,073 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2021-10-31 03:16:38,073 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:38,075 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-31 03:16:38,075 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:38,075 INFO L87 Difference]: Start difference. First operand 1206 states and 1652 transitions. Second operand has 3 states, 3 states have (on average 22.666666666666668) internal successors, (68), 3 states have internal predecessors, (68), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:38,174 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:38,174 INFO L93 Difference]: Finished difference Result 2389 states and 3285 transitions. [2021-10-31 03:16:38,175 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-31 03:16:38,175 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 22.666666666666668) internal successors, (68), 3 states have internal predecessors, (68), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 68 [2021-10-31 03:16:38,175 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:38,182 INFO L225 Difference]: With dead ends: 2389 [2021-10-31 03:16:38,183 INFO L226 Difference]: Without dead ends: 1211 [2021-10-31 03:16:38,186 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:38,188 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1211 states. [2021-10-31 03:16:38,211 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1211 to 1211. [2021-10-31 03:16:38,213 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 1211 states, 1190 states have (on average 1.392436974789916) internal successors, (1657), 1210 states have internal predecessors, (1657), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:38,217 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1211 states to 1211 states and 1657 transitions. [2021-10-31 03:16:38,218 INFO L78 Accepts]: Start accepts. Automaton has 1211 states and 1657 transitions. Word has length 68 [2021-10-31 03:16:38,218 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:38,218 INFO L470 AbstractCegarLoop]: Abstraction has 1211 states and 1657 transitions. [2021-10-31 03:16:38,219 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 22.666666666666668) internal successors, (68), 3 states have internal predecessors, (68), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:38,220 INFO L276 IsEmpty]: Start isEmpty. Operand 1211 states and 1657 transitions. [2021-10-31 03:16:38,220 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 74 [2021-10-31 03:16:38,221 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:38,221 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:38,221 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2021-10-31 03:16:38,221 INFO L402 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr6ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:38,222 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:38,223 INFO L85 PathProgramCache]: Analyzing trace with hash 1845064710, now seen corresponding path program 1 times [2021-10-31 03:16:38,223 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:38,226 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1043928702] [2021-10-31 03:16:38,226 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:38,226 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:38,378 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:38,460 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 5 trivial. 0 not checked. [2021-10-31 03:16:38,461 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:38,461 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1043928702] [2021-10-31 03:16:38,461 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1043928702] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:38,462 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:38,471 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-31 03:16:38,472 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [459649023] [2021-10-31 03:16:38,472 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2021-10-31 03:16:38,472 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:38,473 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-31 03:16:38,473 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:38,473 INFO L87 Difference]: Start difference. First operand 1211 states and 1657 transitions. Second operand has 3 states, 3 states have (on average 24.333333333333332) internal successors, (73), 3 states have internal predecessors, (73), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:38,557 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:38,557 INFO L93 Difference]: Finished difference Result 2386 states and 3278 transitions. [2021-10-31 03:16:38,558 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-31 03:16:38,558 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 24.333333333333332) internal successors, (73), 3 states have internal predecessors, (73), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 73 [2021-10-31 03:16:38,558 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:38,563 INFO L225 Difference]: With dead ends: 2386 [2021-10-31 03:16:38,563 INFO L226 Difference]: Without dead ends: 1215 [2021-10-31 03:16:38,565 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:38,567 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1215 states. [2021-10-31 03:16:38,587 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1215 to 1215. [2021-10-31 03:16:38,589 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 1215 states, 1194 states have (on average 1.3911222780569514) internal successors, (1661), 1214 states have internal predecessors, (1661), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:38,592 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1215 states to 1215 states and 1661 transitions. [2021-10-31 03:16:38,592 INFO L78 Accepts]: Start accepts. Automaton has 1215 states and 1661 transitions. Word has length 73 [2021-10-31 03:16:38,594 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:38,594 INFO L470 AbstractCegarLoop]: Abstraction has 1215 states and 1661 transitions. [2021-10-31 03:16:38,594 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 24.333333333333332) internal successors, (73), 3 states have internal predecessors, (73), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:38,595 INFO L276 IsEmpty]: Start isEmpty. Operand 1215 states and 1661 transitions. [2021-10-31 03:16:38,596 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 78 [2021-10-31 03:16:38,596 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:38,597 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:38,597 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2021-10-31 03:16:38,598 INFO L402 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr6ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:38,598 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:38,598 INFO L85 PathProgramCache]: Analyzing trace with hash -796506238, now seen corresponding path program 1 times [2021-10-31 03:16:38,599 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:38,599 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1044504917] [2021-10-31 03:16:38,599 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:38,599 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:38,660 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:38,729 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2021-10-31 03:16:38,730 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:38,730 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1044504917] [2021-10-31 03:16:38,730 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1044504917] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:38,731 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:38,731 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-31 03:16:38,731 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [459998580] [2021-10-31 03:16:38,733 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2021-10-31 03:16:38,733 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:38,733 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-31 03:16:38,737 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:38,738 INFO L87 Difference]: Start difference. First operand 1215 states and 1661 transitions. Second operand has 3 states, 3 states have (on average 25.666666666666668) internal successors, (77), 3 states have internal predecessors, (77), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:38,829 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:38,830 INFO L93 Difference]: Finished difference Result 2562 states and 3521 transitions. [2021-10-31 03:16:38,830 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-31 03:16:38,830 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 25.666666666666668) internal successors, (77), 3 states have internal predecessors, (77), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 77 [2021-10-31 03:16:38,831 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:38,837 INFO L225 Difference]: With dead ends: 2562 [2021-10-31 03:16:38,837 INFO L226 Difference]: Without dead ends: 1410 [2021-10-31 03:16:38,840 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:38,842 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1410 states. [2021-10-31 03:16:38,866 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1410 to 1385. [2021-10-31 03:16:38,869 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 1385 states, 1364 states have (on average 1.3973607038123168) internal successors, (1906), 1384 states have internal predecessors, (1906), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:38,873 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1385 states to 1385 states and 1906 transitions. [2021-10-31 03:16:38,873 INFO L78 Accepts]: Start accepts. Automaton has 1385 states and 1906 transitions. Word has length 77 [2021-10-31 03:16:38,873 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:38,874 INFO L470 AbstractCegarLoop]: Abstraction has 1385 states and 1906 transitions. [2021-10-31 03:16:38,874 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 25.666666666666668) internal successors, (77), 3 states have internal predecessors, (77), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:38,874 INFO L276 IsEmpty]: Start isEmpty. Operand 1385 states and 1906 transitions. [2021-10-31 03:16:38,875 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 78 [2021-10-31 03:16:38,875 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:38,875 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:38,875 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2021-10-31 03:16:38,876 INFO L402 AbstractCegarLoop]: === Iteration 5 === Targeting ULTIMATE.startErr16ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:38,876 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:38,876 INFO L85 PathProgramCache]: Analyzing trace with hash -2066815538, now seen corresponding path program 1 times [2021-10-31 03:16:38,876 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:38,876 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [473171028] [2021-10-31 03:16:38,877 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:38,877 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:38,932 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:38,990 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2021-10-31 03:16:38,991 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:38,991 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [473171028] [2021-10-31 03:16:38,991 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [473171028] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:38,991 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:38,991 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-31 03:16:38,991 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1060434053] [2021-10-31 03:16:38,992 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2021-10-31 03:16:38,992 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:38,992 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-31 03:16:38,993 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:38,993 INFO L87 Difference]: Start difference. First operand 1385 states and 1906 transitions. Second operand has 3 states, 3 states have (on average 25.666666666666668) internal successors, (77), 3 states have internal predecessors, (77), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:39,391 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:39,391 INFO L93 Difference]: Finished difference Result 3926 states and 5448 transitions. [2021-10-31 03:16:39,392 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-31 03:16:39,392 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 25.666666666666668) internal successors, (77), 3 states have internal predecessors, (77), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 77 [2021-10-31 03:16:39,392 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:39,403 INFO L225 Difference]: With dead ends: 3926 [2021-10-31 03:16:39,403 INFO L226 Difference]: Without dead ends: 2604 [2021-10-31 03:16:39,407 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:39,411 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2604 states. [2021-10-31 03:16:39,499 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2604 to 2572. [2021-10-31 03:16:39,504 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2572 states, 2551 states have (on average 1.4080752646021168) internal successors, (3592), 2571 states have internal predecessors, (3592), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:39,511 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2572 states to 2572 states and 3592 transitions. [2021-10-31 03:16:39,511 INFO L78 Accepts]: Start accepts. Automaton has 2572 states and 3592 transitions. Word has length 77 [2021-10-31 03:16:39,512 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:39,512 INFO L470 AbstractCegarLoop]: Abstraction has 2572 states and 3592 transitions. [2021-10-31 03:16:39,512 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 25.666666666666668) internal successors, (77), 3 states have internal predecessors, (77), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:39,512 INFO L276 IsEmpty]: Start isEmpty. Operand 2572 states and 3592 transitions. [2021-10-31 03:16:39,513 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 80 [2021-10-31 03:16:39,513 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:39,513 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:39,513 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2021-10-31 03:16:39,514 INFO L402 AbstractCegarLoop]: === Iteration 6 === Targeting ULTIMATE.startErr16ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:39,514 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:39,514 INFO L85 PathProgramCache]: Analyzing trace with hash -953091592, now seen corresponding path program 1 times [2021-10-31 03:16:39,514 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:39,515 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1677461262] [2021-10-31 03:16:39,515 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:39,515 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:39,584 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:39,677 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2021-10-31 03:16:39,678 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:39,678 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1677461262] [2021-10-31 03:16:39,678 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1677461262] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:39,678 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:39,678 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-31 03:16:39,679 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [487603333] [2021-10-31 03:16:39,679 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2021-10-31 03:16:39,679 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:39,680 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-31 03:16:39,680 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-31 03:16:39,680 INFO L87 Difference]: Start difference. First operand 2572 states and 3592 transitions. Second operand has 5 states, 5 states have (on average 15.8) internal successors, (79), 5 states have internal predecessors, (79), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:39,940 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:39,941 INFO L93 Difference]: Finished difference Result 8834 states and 12358 transitions. [2021-10-31 03:16:39,941 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-10-31 03:16:39,941 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 15.8) internal successors, (79), 5 states have internal predecessors, (79), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 79 [2021-10-31 03:16:39,942 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:39,966 INFO L225 Difference]: With dead ends: 8834 [2021-10-31 03:16:39,967 INFO L226 Difference]: Without dead ends: 6325 [2021-10-31 03:16:39,974 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 9 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=17, Invalid=25, Unknown=0, NotChecked=0, Total=42 [2021-10-31 03:16:39,985 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 6325 states. [2021-10-31 03:16:40,151 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 6325 to 2578. [2021-10-31 03:16:40,156 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2578 states, 2557 states have (on average 1.4063355494720375) internal successors, (3596), 2577 states have internal predecessors, (3596), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:40,164 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2578 states to 2578 states and 3596 transitions. [2021-10-31 03:16:40,165 INFO L78 Accepts]: Start accepts. Automaton has 2578 states and 3596 transitions. Word has length 79 [2021-10-31 03:16:40,165 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:40,165 INFO L470 AbstractCegarLoop]: Abstraction has 2578 states and 3596 transitions. [2021-10-31 03:16:40,166 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 15.8) internal successors, (79), 5 states have internal predecessors, (79), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:40,166 INFO L276 IsEmpty]: Start isEmpty. Operand 2578 states and 3596 transitions. [2021-10-31 03:16:40,166 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 85 [2021-10-31 03:16:40,167 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:40,167 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:40,167 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2021-10-31 03:16:40,167 INFO L402 AbstractCegarLoop]: === Iteration 7 === Targeting ULTIMATE.startErr16ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:40,168 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:40,168 INFO L85 PathProgramCache]: Analyzing trace with hash -229940264, now seen corresponding path program 1 times [2021-10-31 03:16:40,168 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:40,168 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1795629433] [2021-10-31 03:16:40,168 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:40,169 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:40,220 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:40,299 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2021-10-31 03:16:40,300 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:40,300 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1795629433] [2021-10-31 03:16:40,300 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1795629433] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:40,300 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:40,300 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-31 03:16:40,300 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [965200303] [2021-10-31 03:16:40,301 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2021-10-31 03:16:40,301 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:40,301 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-31 03:16:40,302 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:40,302 INFO L87 Difference]: Start difference. First operand 2578 states and 3596 transitions. Second operand has 3 states, 3 states have (on average 28.0) internal successors, (84), 2 states have internal predecessors, (84), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:40,374 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:40,374 INFO L93 Difference]: Finished difference Result 2578 states and 3596 transitions. [2021-10-31 03:16:40,374 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-31 03:16:40,375 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 28.0) internal successors, (84), 2 states have internal predecessors, (84), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 84 [2021-10-31 03:16:40,375 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:40,385 INFO L225 Difference]: With dead ends: 2578 [2021-10-31 03:16:40,385 INFO L226 Difference]: Without dead ends: 2576 [2021-10-31 03:16:40,387 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:40,391 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2576 states. [2021-10-31 03:16:40,496 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2576 to 2576. [2021-10-31 03:16:40,501 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2576 states, 2556 states have (on average 1.4061032863849765) internal successors, (3594), 2575 states have internal predecessors, (3594), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:40,508 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2576 states to 2576 states and 3594 transitions. [2021-10-31 03:16:40,508 INFO L78 Accepts]: Start accepts. Automaton has 2576 states and 3594 transitions. Word has length 84 [2021-10-31 03:16:40,509 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:40,509 INFO L470 AbstractCegarLoop]: Abstraction has 2576 states and 3594 transitions. [2021-10-31 03:16:40,509 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 28.0) internal successors, (84), 2 states have internal predecessors, (84), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:40,509 INFO L276 IsEmpty]: Start isEmpty. Operand 2576 states and 3594 transitions. [2021-10-31 03:16:40,510 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 86 [2021-10-31 03:16:40,510 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:40,510 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:40,510 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2021-10-31 03:16:40,511 INFO L402 AbstractCegarLoop]: === Iteration 8 === Targeting ULTIMATE.startErr17ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:40,511 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:40,511 INFO L85 PathProgramCache]: Analyzing trace with hash 1461796467, now seen corresponding path program 1 times [2021-10-31 03:16:40,511 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:40,512 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [659785276] [2021-10-31 03:16:40,512 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:40,512 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:40,566 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:40,649 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2021-10-31 03:16:40,649 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:40,650 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [659785276] [2021-10-31 03:16:40,650 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [659785276] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:40,650 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:40,650 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-31 03:16:40,650 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1845195314] [2021-10-31 03:16:40,651 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2021-10-31 03:16:40,651 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:40,651 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-31 03:16:40,652 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:40,652 INFO L87 Difference]: Start difference. First operand 2576 states and 3594 transitions. Second operand has 3 states, 3 states have (on average 28.333333333333332) internal successors, (85), 2 states have internal predecessors, (85), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:40,738 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:40,738 INFO L93 Difference]: Finished difference Result 2576 states and 3594 transitions. [2021-10-31 03:16:40,739 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-31 03:16:40,739 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 28.333333333333332) internal successors, (85), 2 states have internal predecessors, (85), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 85 [2021-10-31 03:16:40,739 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:40,749 INFO L225 Difference]: With dead ends: 2576 [2021-10-31 03:16:40,749 INFO L226 Difference]: Without dead ends: 2574 [2021-10-31 03:16:40,751 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:40,754 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2574 states. [2021-10-31 03:16:40,858 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2574 to 2574. [2021-10-31 03:16:40,863 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2574 states, 2555 states have (on average 1.4058708414872798) internal successors, (3592), 2573 states have internal predecessors, (3592), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:40,872 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2574 states to 2574 states and 3592 transitions. [2021-10-31 03:16:40,872 INFO L78 Accepts]: Start accepts. Automaton has 2574 states and 3592 transitions. Word has length 85 [2021-10-31 03:16:40,872 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:40,873 INFO L470 AbstractCegarLoop]: Abstraction has 2574 states and 3592 transitions. [2021-10-31 03:16:40,873 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 28.333333333333332) internal successors, (85), 2 states have internal predecessors, (85), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:40,873 INFO L276 IsEmpty]: Start isEmpty. Operand 2574 states and 3592 transitions. [2021-10-31 03:16:40,874 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 87 [2021-10-31 03:16:40,874 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:40,874 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:40,875 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2021-10-31 03:16:40,875 INFO L402 AbstractCegarLoop]: === Iteration 9 === Targeting ULTIMATE.startErr18ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:40,875 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:40,875 INFO L85 PathProgramCache]: Analyzing trace with hash -1928939710, now seen corresponding path program 1 times [2021-10-31 03:16:40,876 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:40,876 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [383940437] [2021-10-31 03:16:40,876 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:40,876 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:40,930 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:41,014 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2021-10-31 03:16:41,014 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:41,014 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [383940437] [2021-10-31 03:16:41,014 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [383940437] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:41,015 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:41,015 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-31 03:16:41,015 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1216294821] [2021-10-31 03:16:41,015 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2021-10-31 03:16:41,016 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:41,016 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-31 03:16:41,016 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:41,016 INFO L87 Difference]: Start difference. First operand 2574 states and 3592 transitions. Second operand has 3 states, 3 states have (on average 28.666666666666668) internal successors, (86), 2 states have internal predecessors, (86), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:41,110 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:41,110 INFO L93 Difference]: Finished difference Result 2574 states and 3592 transitions. [2021-10-31 03:16:41,111 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-31 03:16:41,111 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 28.666666666666668) internal successors, (86), 2 states have internal predecessors, (86), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 86 [2021-10-31 03:16:41,111 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:41,121 INFO L225 Difference]: With dead ends: 2574 [2021-10-31 03:16:41,121 INFO L226 Difference]: Without dead ends: 2566 [2021-10-31 03:16:41,123 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:41,127 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2566 states. [2021-10-31 03:16:41,241 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2566 to 2566. [2021-10-31 03:16:41,246 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2566 states, 2551 states have (on average 1.403763230105841) internal successors, (3581), 2565 states have internal predecessors, (3581), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:41,254 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2566 states to 2566 states and 3581 transitions. [2021-10-31 03:16:41,254 INFO L78 Accepts]: Start accepts. Automaton has 2566 states and 3581 transitions. Word has length 86 [2021-10-31 03:16:41,254 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:41,254 INFO L470 AbstractCegarLoop]: Abstraction has 2566 states and 3581 transitions. [2021-10-31 03:16:41,255 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 28.666666666666668) internal successors, (86), 2 states have internal predecessors, (86), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:41,255 INFO L276 IsEmpty]: Start isEmpty. Operand 2566 states and 3581 transitions. [2021-10-31 03:16:41,256 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 88 [2021-10-31 03:16:41,256 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:41,256 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:41,256 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2021-10-31 03:16:41,256 INFO L402 AbstractCegarLoop]: === Iteration 10 === Targeting ULTIMATE.startErr19ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:41,257 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:41,257 INFO L85 PathProgramCache]: Analyzing trace with hash 332421213, now seen corresponding path program 1 times [2021-10-31 03:16:41,257 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:41,257 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1731270493] [2021-10-31 03:16:41,257 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:41,258 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:41,306 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:41,382 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2021-10-31 03:16:41,382 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:41,382 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1731270493] [2021-10-31 03:16:41,382 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1731270493] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:41,383 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:41,383 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-31 03:16:41,383 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [114971610] [2021-10-31 03:16:41,383 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2021-10-31 03:16:41,383 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:41,384 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-31 03:16:41,384 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:41,384 INFO L87 Difference]: Start difference. First operand 2566 states and 3581 transitions. Second operand has 3 states, 3 states have (on average 29.0) internal successors, (87), 2 states have internal predecessors, (87), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:41,463 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:41,464 INFO L93 Difference]: Finished difference Result 2566 states and 3581 transitions. [2021-10-31 03:16:41,464 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-31 03:16:41,464 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 29.0) internal successors, (87), 2 states have internal predecessors, (87), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 87 [2021-10-31 03:16:41,465 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:41,474 INFO L225 Difference]: With dead ends: 2566 [2021-10-31 03:16:41,475 INFO L226 Difference]: Without dead ends: 2564 [2021-10-31 03:16:41,476 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:41,480 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2564 states. [2021-10-31 03:16:41,571 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2564 to 2564. [2021-10-31 03:16:41,576 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2564 states, 2550 states have (on average 1.403529411764706) internal successors, (3579), 2563 states have internal predecessors, (3579), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:41,583 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2564 states to 2564 states and 3579 transitions. [2021-10-31 03:16:41,583 INFO L78 Accepts]: Start accepts. Automaton has 2564 states and 3579 transitions. Word has length 87 [2021-10-31 03:16:41,583 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:41,584 INFO L470 AbstractCegarLoop]: Abstraction has 2564 states and 3579 transitions. [2021-10-31 03:16:41,584 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 29.0) internal successors, (87), 2 states have internal predecessors, (87), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:41,584 INFO L276 IsEmpty]: Start isEmpty. Operand 2564 states and 3579 transitions. [2021-10-31 03:16:41,585 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 89 [2021-10-31 03:16:41,585 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:41,585 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:41,585 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2021-10-31 03:16:41,586 INFO L402 AbstractCegarLoop]: === Iteration 11 === Targeting ULTIMATE.startErr20ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:41,586 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:41,586 INFO L85 PathProgramCache]: Analyzing trace with hash 1715133100, now seen corresponding path program 1 times [2021-10-31 03:16:41,586 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:41,586 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [910343435] [2021-10-31 03:16:41,587 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:41,587 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:41,633 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:41,709 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2021-10-31 03:16:41,709 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:41,709 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [910343435] [2021-10-31 03:16:41,710 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [910343435] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:41,710 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:41,710 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-31 03:16:41,710 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [995248789] [2021-10-31 03:16:41,710 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2021-10-31 03:16:41,711 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:41,711 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-31 03:16:41,711 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:41,711 INFO L87 Difference]: Start difference. First operand 2564 states and 3579 transitions. Second operand has 3 states, 3 states have (on average 29.333333333333332) internal successors, (88), 2 states have internal predecessors, (88), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:41,967 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:41,967 INFO L93 Difference]: Finished difference Result 7466 states and 10481 transitions. [2021-10-31 03:16:41,968 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-31 03:16:41,968 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 29.333333333333332) internal successors, (88), 2 states have internal predecessors, (88), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 88 [2021-10-31 03:16:41,968 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:41,985 INFO L225 Difference]: With dead ends: 7466 [2021-10-31 03:16:41,985 INFO L226 Difference]: Without dead ends: 4950 [2021-10-31 03:16:41,991 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:41,996 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 4950 states. [2021-10-31 03:16:42,164 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 4950 to 4381. [2021-10-31 03:16:42,184 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4381 states, 4367 states have (on average 1.4055415617128464) internal successors, (6138), 4380 states have internal predecessors, (6138), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:42,198 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4381 states to 4381 states and 6138 transitions. [2021-10-31 03:16:42,199 INFO L78 Accepts]: Start accepts. Automaton has 4381 states and 6138 transitions. Word has length 88 [2021-10-31 03:16:42,199 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:42,199 INFO L470 AbstractCegarLoop]: Abstraction has 4381 states and 6138 transitions. [2021-10-31 03:16:42,200 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 29.333333333333332) internal successors, (88), 2 states have internal predecessors, (88), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:42,200 INFO L276 IsEmpty]: Start isEmpty. Operand 4381 states and 6138 transitions. [2021-10-31 03:16:42,202 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 112 [2021-10-31 03:16:42,202 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:42,202 INFO L513 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:42,203 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable10 [2021-10-31 03:16:42,203 INFO L402 AbstractCegarLoop]: === Iteration 12 === Targeting ULTIMATE.startErr11ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:42,203 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:42,203 INFO L85 PathProgramCache]: Analyzing trace with hash -2120405608, now seen corresponding path program 1 times [2021-10-31 03:16:42,204 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:42,204 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2029436202] [2021-10-31 03:16:42,204 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:42,204 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:42,262 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:42,321 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 3 proven. 0 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2021-10-31 03:16:42,322 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:42,322 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2029436202] [2021-10-31 03:16:42,322 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2029436202] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:42,322 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:42,322 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-31 03:16:42,323 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1814898358] [2021-10-31 03:16:42,323 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2021-10-31 03:16:42,323 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:42,324 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-31 03:16:42,324 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:42,324 INFO L87 Difference]: Start difference. First operand 4381 states and 6138 transitions. Second operand has 3 states, 3 states have (on average 37.0) internal successors, (111), 3 states have internal predecessors, (111), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:42,602 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:42,602 INFO L93 Difference]: Finished difference Result 8709 states and 12216 transitions. [2021-10-31 03:16:42,602 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-31 03:16:42,603 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 37.0) internal successors, (111), 3 states have internal predecessors, (111), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 111 [2021-10-31 03:16:42,603 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:42,620 INFO L225 Difference]: With dead ends: 8709 [2021-10-31 03:16:42,620 INFO L226 Difference]: Without dead ends: 4391 [2021-10-31 03:16:42,629 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:42,634 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 4391 states. [2021-10-31 03:16:42,812 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 4391 to 4383. [2021-10-31 03:16:42,820 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4383 states, 4369 states have (on average 1.4053559166857403) internal successors, (6140), 4382 states have internal predecessors, (6140), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:42,829 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4383 states to 4383 states and 6140 transitions. [2021-10-31 03:16:42,829 INFO L78 Accepts]: Start accepts. Automaton has 4383 states and 6140 transitions. Word has length 111 [2021-10-31 03:16:42,829 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:42,830 INFO L470 AbstractCegarLoop]: Abstraction has 4383 states and 6140 transitions. [2021-10-31 03:16:42,830 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 37.0) internal successors, (111), 3 states have internal predecessors, (111), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:42,830 INFO L276 IsEmpty]: Start isEmpty. Operand 4383 states and 6140 transitions. [2021-10-31 03:16:42,832 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 117 [2021-10-31 03:16:42,832 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:42,833 INFO L513 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:42,833 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2021-10-31 03:16:42,833 INFO L402 AbstractCegarLoop]: === Iteration 13 === Targeting ULTIMATE.startErr11ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:42,833 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:42,834 INFO L85 PathProgramCache]: Analyzing trace with hash -382010357, now seen corresponding path program 1 times [2021-10-31 03:16:42,834 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:42,834 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1249647996] [2021-10-31 03:16:42,834 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:42,834 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:42,912 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:42,981 INFO L134 CoverageAnalysis]: Checked inductivity of 13 backedges. 3 proven. 1 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2021-10-31 03:16:42,982 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:42,982 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1249647996] [2021-10-31 03:16:42,982 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1249647996] provided 0 perfect and 1 imperfect interpolant sequences [2021-10-31 03:16:42,982 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [9441024] [2021-10-31 03:16:42,983 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:42,983 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-10-31 03:16:42,983 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-10-31 03:16:42,987 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-10-31 03:16:43,015 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2021-10-31 03:16:43,545 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:43,557 INFO L263 TraceCheckSpWp]: Trace formula consists of 2029 conjuncts, 3 conjunts are in the unsatisfiable core [2021-10-31 03:16:43,568 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-10-31 03:16:43,836 INFO L134 CoverageAnalysis]: Checked inductivity of 13 backedges. 3 proven. 0 refuted. 0 times theorem prover too weak. 10 trivial. 0 not checked. [2021-10-31 03:16:43,837 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [9441024] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:43,837 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2021-10-31 03:16:43,837 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [4] total 5 [2021-10-31 03:16:43,837 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2041792603] [2021-10-31 03:16:43,838 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2021-10-31 03:16:43,838 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:43,838 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-31 03:16:43,839 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2021-10-31 03:16:43,839 INFO L87 Difference]: Start difference. First operand 4383 states and 6140 transitions. Second operand has 3 states, 3 states have (on average 38.666666666666664) internal successors, (116), 3 states have internal predecessors, (116), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:44,414 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:44,415 INFO L93 Difference]: Finished difference Result 7087 states and 9919 transitions. [2021-10-31 03:16:44,415 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-31 03:16:44,416 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 38.666666666666664) internal successors, (116), 3 states have internal predecessors, (116), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 116 [2021-10-31 03:16:44,416 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:44,422 INFO L225 Difference]: With dead ends: 7087 [2021-10-31 03:16:44,422 INFO L226 Difference]: Without dead ends: 2765 [2021-10-31 03:16:44,429 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 119 GetRequests, 116 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2021-10-31 03:16:44,433 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2765 states. [2021-10-31 03:16:44,583 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2765 to 2751. [2021-10-31 03:16:44,589 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2751 states, 2737 states have (on average 1.4000730727073438) internal successors, (3832), 2750 states have internal predecessors, (3832), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:44,595 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2751 states to 2751 states and 3832 transitions. [2021-10-31 03:16:44,596 INFO L78 Accepts]: Start accepts. Automaton has 2751 states and 3832 transitions. Word has length 116 [2021-10-31 03:16:44,596 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:44,596 INFO L470 AbstractCegarLoop]: Abstraction has 2751 states and 3832 transitions. [2021-10-31 03:16:44,596 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 38.666666666666664) internal successors, (116), 3 states have internal predecessors, (116), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:44,597 INFO L276 IsEmpty]: Start isEmpty. Operand 2751 states and 3832 transitions. [2021-10-31 03:16:44,598 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 121 [2021-10-31 03:16:44,599 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:44,599 INFO L513 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:44,629 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Forceful destruction successful, exit code 0 [2021-10-31 03:16:44,823 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable12 [2021-10-31 03:16:44,824 INFO L402 AbstractCegarLoop]: === Iteration 14 === Targeting ULTIMATE.startErr11ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:44,824 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:44,824 INFO L85 PathProgramCache]: Analyzing trace with hash 593014354, now seen corresponding path program 1 times [2021-10-31 03:16:44,824 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:44,825 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [37420663] [2021-10-31 03:16:44,825 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:44,825 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:44,915 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:44,983 INFO L134 CoverageAnalysis]: Checked inductivity of 13 backedges. 3 proven. 1 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2021-10-31 03:16:44,983 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:44,984 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [37420663] [2021-10-31 03:16:44,984 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [37420663] provided 0 perfect and 1 imperfect interpolant sequences [2021-10-31 03:16:44,984 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [471235947] [2021-10-31 03:16:44,984 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:44,984 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-10-31 03:16:44,985 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-10-31 03:16:44,986 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-10-31 03:16:44,987 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2021-10-31 03:16:45,597 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:45,608 INFO L263 TraceCheckSpWp]: Trace formula consists of 2084 conjuncts, 3 conjunts are in the unsatisfiable core [2021-10-31 03:16:45,614 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-10-31 03:16:45,904 INFO L134 CoverageAnalysis]: Checked inductivity of 13 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 13 trivial. 0 not checked. [2021-10-31 03:16:45,905 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [471235947] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:45,905 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2021-10-31 03:16:45,905 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [4] total 5 [2021-10-31 03:16:45,907 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [929155236] [2021-10-31 03:16:45,908 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2021-10-31 03:16:45,908 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:45,908 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-31 03:16:45,908 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2021-10-31 03:16:45,909 INFO L87 Difference]: Start difference. First operand 2751 states and 3832 transitions. Second operand has 3 states, 3 states have (on average 39.333333333333336) internal successors, (118), 3 states have internal predecessors, (118), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:46,380 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:46,381 INFO L93 Difference]: Finished difference Result 2751 states and 3832 transitions. [2021-10-31 03:16:46,381 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-31 03:16:46,381 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 39.333333333333336) internal successors, (118), 3 states have internal predecessors, (118), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 120 [2021-10-31 03:16:46,382 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:46,388 INFO L225 Difference]: With dead ends: 2751 [2021-10-31 03:16:46,388 INFO L226 Difference]: Without dead ends: 2745 [2021-10-31 03:16:46,389 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 123 GetRequests, 120 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2021-10-31 03:16:46,392 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2745 states. [2021-10-31 03:16:46,486 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2745 to 2745. [2021-10-31 03:16:46,490 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2745 states, 2734 states have (on average 1.3983174835405998) internal successors, (3823), 2744 states have internal predecessors, (3823), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:46,495 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2745 states to 2745 states and 3823 transitions. [2021-10-31 03:16:46,495 INFO L78 Accepts]: Start accepts. Automaton has 2745 states and 3823 transitions. Word has length 120 [2021-10-31 03:16:46,496 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:46,496 INFO L470 AbstractCegarLoop]: Abstraction has 2745 states and 3823 transitions. [2021-10-31 03:16:46,496 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 39.333333333333336) internal successors, (118), 3 states have internal predecessors, (118), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:46,496 INFO L276 IsEmpty]: Start isEmpty. Operand 2745 states and 3823 transitions. [2021-10-31 03:16:46,498 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 131 [2021-10-31 03:16:46,498 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:46,499 INFO L513 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:46,534 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Forceful destruction successful, exit code 0 [2021-10-31 03:16:46,715 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable13 [2021-10-31 03:16:46,716 INFO L402 AbstractCegarLoop]: === Iteration 15 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:46,716 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:46,716 INFO L85 PathProgramCache]: Analyzing trace with hash -2029850656, now seen corresponding path program 1 times [2021-10-31 03:16:46,716 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:46,716 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [253464263] [2021-10-31 03:16:46,716 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:46,717 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:46,778 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:46,840 INFO L134 CoverageAnalysis]: Checked inductivity of 13 backedges. 3 proven. 1 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2021-10-31 03:16:46,840 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:46,841 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [253464263] [2021-10-31 03:16:46,841 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [253464263] provided 0 perfect and 1 imperfect interpolant sequences [2021-10-31 03:16:46,841 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1514243380] [2021-10-31 03:16:46,841 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:46,841 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-10-31 03:16:46,841 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-10-31 03:16:46,842 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-10-31 03:16:46,844 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2021-10-31 03:16:47,566 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:47,576 INFO L263 TraceCheckSpWp]: Trace formula consists of 2210 conjuncts, 3 conjunts are in the unsatisfiable core [2021-10-31 03:16:47,580 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-10-31 03:16:47,886 INFO L134 CoverageAnalysis]: Checked inductivity of 13 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 13 trivial. 0 not checked. [2021-10-31 03:16:47,887 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1514243380] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:47,887 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2021-10-31 03:16:47,887 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [4] total 5 [2021-10-31 03:16:47,887 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1533772564] [2021-10-31 03:16:47,888 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2021-10-31 03:16:47,888 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:47,888 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-31 03:16:47,888 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2021-10-31 03:16:47,888 INFO L87 Difference]: Start difference. First operand 2745 states and 3823 transitions. Second operand has 3 states, 3 states have (on average 42.666666666666664) internal successors, (128), 3 states have internal predecessors, (128), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:48,273 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:48,274 INFO L93 Difference]: Finished difference Result 5277 states and 7361 transitions. [2021-10-31 03:16:48,274 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-31 03:16:48,275 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 42.666666666666664) internal successors, (128), 3 states have internal predecessors, (128), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 130 [2021-10-31 03:16:48,275 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:48,281 INFO L225 Difference]: With dead ends: 5277 [2021-10-31 03:16:48,282 INFO L226 Difference]: Without dead ends: 2745 [2021-10-31 03:16:48,288 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 133 GetRequests, 130 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2021-10-31 03:16:48,292 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2745 states. [2021-10-31 03:16:48,382 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2745 to 2745. [2021-10-31 03:16:48,386 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2745 states, 2734 states have (on average 1.394659839063643) internal successors, (3813), 2744 states have internal predecessors, (3813), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:48,391 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2745 states to 2745 states and 3813 transitions. [2021-10-31 03:16:48,391 INFO L78 Accepts]: Start accepts. Automaton has 2745 states and 3813 transitions. Word has length 130 [2021-10-31 03:16:48,392 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:48,392 INFO L470 AbstractCegarLoop]: Abstraction has 2745 states and 3813 transitions. [2021-10-31 03:16:48,392 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 42.666666666666664) internal successors, (128), 3 states have internal predecessors, (128), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:48,392 INFO L276 IsEmpty]: Start isEmpty. Operand 2745 states and 3813 transitions. [2021-10-31 03:16:48,395 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 131 [2021-10-31 03:16:48,395 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:48,395 INFO L513 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:48,431 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2021-10-31 03:16:48,611 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable14,4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-10-31 03:16:48,612 INFO L402 AbstractCegarLoop]: === Iteration 16 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:48,612 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:48,612 INFO L85 PathProgramCache]: Analyzing trace with hash 1678310626, now seen corresponding path program 1 times [2021-10-31 03:16:48,612 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:48,612 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1269837773] [2021-10-31 03:16:48,613 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:48,613 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:48,676 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:48,755 INFO L134 CoverageAnalysis]: Checked inductivity of 13 backedges. 3 proven. 1 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2021-10-31 03:16:48,755 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:48,755 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1269837773] [2021-10-31 03:16:48,756 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1269837773] provided 0 perfect and 1 imperfect interpolant sequences [2021-10-31 03:16:48,756 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1767528411] [2021-10-31 03:16:48,756 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:48,756 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-10-31 03:16:48,756 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-10-31 03:16:48,757 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-10-31 03:16:48,759 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Waiting until timeout for monitored process [2021-10-31 03:16:49,468 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:49,481 INFO L263 TraceCheckSpWp]: Trace formula consists of 2209 conjuncts, 6 conjunts are in the unsatisfiable core [2021-10-31 03:16:49,486 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-10-31 03:16:49,889 INFO L134 CoverageAnalysis]: Checked inductivity of 13 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 12 trivial. 0 not checked. [2021-10-31 03:16:49,890 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1767528411] provided 0 perfect and 1 imperfect interpolant sequences [2021-10-31 03:16:49,890 INFO L186 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2021-10-31 03:16:49,890 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [4, 4] total 6 [2021-10-31 03:16:49,890 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1879655923] [2021-10-31 03:16:49,891 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 6 states [2021-10-31 03:16:49,891 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:49,891 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2021-10-31 03:16:49,891 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2021-10-31 03:16:49,892 INFO L87 Difference]: Start difference. First operand 2745 states and 3813 transitions. Second operand has 6 states, 6 states have (on average 30.166666666666668) internal successors, (181), 6 states have internal predecessors, (181), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:50,267 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:50,267 INFO L93 Difference]: Finished difference Result 5484 states and 7626 transitions. [2021-10-31 03:16:50,268 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-10-31 03:16:50,268 INFO L78 Accepts]: Start accepts. Automaton has has 6 states, 6 states have (on average 30.166666666666668) internal successors, (181), 6 states have internal predecessors, (181), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 130 [2021-10-31 03:16:50,268 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:50,275 INFO L225 Difference]: With dead ends: 5484 [2021-10-31 03:16:50,275 INFO L226 Difference]: Without dead ends: 2768 [2021-10-31 03:16:50,281 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 133 GetRequests, 129 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2021-10-31 03:16:50,284 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2768 states. [2021-10-31 03:16:50,436 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2768 to 2760. [2021-10-31 03:16:50,441 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2760 states, 2749 states have (on average 1.392506365951255) internal successors, (3828), 2759 states have internal predecessors, (3828), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:50,447 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2760 states to 2760 states and 3828 transitions. [2021-10-31 03:16:50,448 INFO L78 Accepts]: Start accepts. Automaton has 2760 states and 3828 transitions. Word has length 130 [2021-10-31 03:16:50,448 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:50,448 INFO L470 AbstractCegarLoop]: Abstraction has 2760 states and 3828 transitions. [2021-10-31 03:16:50,449 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 6 states, 6 states have (on average 30.166666666666668) internal successors, (181), 6 states have internal predecessors, (181), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:50,449 INFO L276 IsEmpty]: Start isEmpty. Operand 2760 states and 3828 transitions. [2021-10-31 03:16:50,451 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 141 [2021-10-31 03:16:50,452 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:50,452 INFO L513 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:50,486 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Forceful destruction successful, exit code 0 [2021-10-31 03:16:50,679 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 5 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable15 [2021-10-31 03:16:50,680 INFO L402 AbstractCegarLoop]: === Iteration 17 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:50,680 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:50,680 INFO L85 PathProgramCache]: Analyzing trace with hash -946651125, now seen corresponding path program 2 times [2021-10-31 03:16:50,680 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:50,680 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [764302520] [2021-10-31 03:16:50,680 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:50,680 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:50,752 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:50,853 INFO L134 CoverageAnalysis]: Checked inductivity of 29 backedges. 3 proven. 0 refuted. 0 times theorem prover too weak. 26 trivial. 0 not checked. [2021-10-31 03:16:50,854 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:50,854 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [764302520] [2021-10-31 03:16:50,854 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [764302520] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:50,854 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:50,854 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-31 03:16:50,854 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [795893383] [2021-10-31 03:16:50,855 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2021-10-31 03:16:50,855 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:50,856 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-31 03:16:50,856 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-31 03:16:50,856 INFO L87 Difference]: Start difference. First operand 2760 states and 3828 transitions. Second operand has 5 states, 5 states have (on average 26.0) internal successors, (130), 5 states have internal predecessors, (130), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:51,343 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:51,343 INFO L93 Difference]: Finished difference Result 5336 states and 7399 transitions. [2021-10-31 03:16:51,344 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2021-10-31 03:16:51,344 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 26.0) internal successors, (130), 5 states have internal predecessors, (130), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 140 [2021-10-31 03:16:51,344 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:51,351 INFO L225 Difference]: With dead ends: 5336 [2021-10-31 03:16:51,352 INFO L226 Difference]: Without dead ends: 2787 [2021-10-31 03:16:51,357 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 8 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=22, Invalid=34, Unknown=0, NotChecked=0, Total=56 [2021-10-31 03:16:51,360 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2787 states. [2021-10-31 03:16:51,452 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2787 to 2760. [2021-10-31 03:16:51,455 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2760 states, 2749 states have (on average 1.3910512913786832) internal successors, (3824), 2759 states have internal predecessors, (3824), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:51,461 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2760 states to 2760 states and 3824 transitions. [2021-10-31 03:16:51,461 INFO L78 Accepts]: Start accepts. Automaton has 2760 states and 3824 transitions. Word has length 140 [2021-10-31 03:16:51,461 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:51,462 INFO L470 AbstractCegarLoop]: Abstraction has 2760 states and 3824 transitions. [2021-10-31 03:16:51,462 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 26.0) internal successors, (130), 5 states have internal predecessors, (130), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:51,462 INFO L276 IsEmpty]: Start isEmpty. Operand 2760 states and 3824 transitions. [2021-10-31 03:16:51,465 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 151 [2021-10-31 03:16:51,465 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:51,465 INFO L513 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:51,465 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable16 [2021-10-31 03:16:51,466 INFO L402 AbstractCegarLoop]: === Iteration 18 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:51,466 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:51,466 INFO L85 PathProgramCache]: Analyzing trace with hash 1290217815, now seen corresponding path program 1 times [2021-10-31 03:16:51,466 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:51,467 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1694050405] [2021-10-31 03:16:51,467 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:51,467 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:51,539 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:51,617 INFO L134 CoverageAnalysis]: Checked inductivity of 29 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 29 trivial. 0 not checked. [2021-10-31 03:16:51,617 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:51,617 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1694050405] [2021-10-31 03:16:51,617 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1694050405] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:51,618 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:51,618 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-31 03:16:51,618 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1556138832] [2021-10-31 03:16:51,618 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2021-10-31 03:16:51,618 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:51,619 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-31 03:16:51,619 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-31 03:16:51,619 INFO L87 Difference]: Start difference. First operand 2760 states and 3824 transitions. Second operand has 5 states, 5 states have (on average 27.6) internal successors, (138), 5 states have internal predecessors, (138), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:51,942 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:51,942 INFO L93 Difference]: Finished difference Result 5666 states and 7828 transitions. [2021-10-31 03:16:51,943 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-10-31 03:16:51,943 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 27.6) internal successors, (138), 5 states have internal predecessors, (138), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 150 [2021-10-31 03:16:51,943 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:51,955 INFO L225 Difference]: With dead ends: 5666 [2021-10-31 03:16:51,956 INFO L226 Difference]: Without dead ends: 5214 [2021-10-31 03:16:51,959 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 5 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=22, Invalid=34, Unknown=0, NotChecked=0, Total=56 [2021-10-31 03:16:51,963 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 5214 states. [2021-10-31 03:16:52,067 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 5214 to 2308. [2021-10-31 03:16:52,070 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2308 states, 2299 states have (on average 1.3797303175293605) internal successors, (3172), 2307 states have internal predecessors, (3172), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:52,075 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2308 states to 2308 states and 3172 transitions. [2021-10-31 03:16:52,076 INFO L78 Accepts]: Start accepts. Automaton has 2308 states and 3172 transitions. Word has length 150 [2021-10-31 03:16:52,076 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:52,076 INFO L470 AbstractCegarLoop]: Abstraction has 2308 states and 3172 transitions. [2021-10-31 03:16:52,076 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 27.6) internal successors, (138), 5 states have internal predecessors, (138), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:52,077 INFO L276 IsEmpty]: Start isEmpty. Operand 2308 states and 3172 transitions. [2021-10-31 03:16:52,079 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 153 [2021-10-31 03:16:52,079 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:52,080 INFO L513 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:52,080 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable17 [2021-10-31 03:16:52,081 INFO L402 AbstractCegarLoop]: === Iteration 19 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:52,081 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:52,081 INFO L85 PathProgramCache]: Analyzing trace with hash 164088923, now seen corresponding path program 1 times [2021-10-31 03:16:52,081 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:52,082 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1041611436] [2021-10-31 03:16:52,083 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:52,084 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:52,156 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:52,237 INFO L134 CoverageAnalysis]: Checked inductivity of 29 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 29 trivial. 0 not checked. [2021-10-31 03:16:52,237 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:52,237 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1041611436] [2021-10-31 03:16:52,238 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1041611436] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:52,238 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:52,238 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-31 03:16:52,239 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [121227324] [2021-10-31 03:16:52,240 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2021-10-31 03:16:52,240 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:52,241 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-31 03:16:52,242 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-31 03:16:52,242 INFO L87 Difference]: Start difference. First operand 2308 states and 3172 transitions. Second operand has 5 states, 5 states have (on average 28.0) internal successors, (140), 5 states have internal predecessors, (140), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:52,631 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:52,631 INFO L93 Difference]: Finished difference Result 5904 states and 8122 transitions. [2021-10-31 03:16:52,632 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-10-31 03:16:52,632 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 28.0) internal successors, (140), 5 states have internal predecessors, (140), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 152 [2021-10-31 03:16:52,633 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:52,642 INFO L225 Difference]: With dead ends: 5904 [2021-10-31 03:16:52,643 INFO L226 Difference]: Without dead ends: 5212 [2021-10-31 03:16:52,645 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 5 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=22, Invalid=34, Unknown=0, NotChecked=0, Total=56 [2021-10-31 03:16:52,650 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 5212 states. [2021-10-31 03:16:52,802 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 5212 to 2306. [2021-10-31 03:16:52,805 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2306 states, 2297 states have (on average 1.3791902481497607) internal successors, (3168), 2305 states have internal predecessors, (3168), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:52,809 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2306 states to 2306 states and 3168 transitions. [2021-10-31 03:16:52,810 INFO L78 Accepts]: Start accepts. Automaton has 2306 states and 3168 transitions. Word has length 152 [2021-10-31 03:16:52,810 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:52,810 INFO L470 AbstractCegarLoop]: Abstraction has 2306 states and 3168 transitions. [2021-10-31 03:16:52,810 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 28.0) internal successors, (140), 5 states have internal predecessors, (140), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:52,811 INFO L276 IsEmpty]: Start isEmpty. Operand 2306 states and 3168 transitions. [2021-10-31 03:16:52,814 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 163 [2021-10-31 03:16:52,814 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:52,815 INFO L513 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:52,815 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable18 [2021-10-31 03:16:52,815 INFO L402 AbstractCegarLoop]: === Iteration 20 === Targeting ULTIMATE.startErr5ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:52,816 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:52,816 INFO L85 PathProgramCache]: Analyzing trace with hash -1663947676, now seen corresponding path program 1 times [2021-10-31 03:16:52,816 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:52,816 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [931392544] [2021-10-31 03:16:52,816 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:52,817 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:52,890 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:53,005 INFO L134 CoverageAnalysis]: Checked inductivity of 29 backedges. 3 proven. 0 refuted. 0 times theorem prover too weak. 26 trivial. 0 not checked. [2021-10-31 03:16:53,005 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:53,005 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [931392544] [2021-10-31 03:16:53,005 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [931392544] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:53,006 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:53,006 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2021-10-31 03:16:53,006 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [168035580] [2021-10-31 03:16:53,006 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 6 states [2021-10-31 03:16:53,007 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:53,007 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2021-10-31 03:16:53,007 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=12, Invalid=18, Unknown=0, NotChecked=0, Total=30 [2021-10-31 03:16:53,008 INFO L87 Difference]: Start difference. First operand 2306 states and 3168 transitions. Second operand has 6 states, 6 states have (on average 25.333333333333332) internal successors, (152), 6 states have internal predecessors, (152), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:54,265 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:54,265 INFO L93 Difference]: Finished difference Result 5340 states and 7352 transitions. [2021-10-31 03:16:54,266 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2021-10-31 03:16:54,266 INFO L78 Accepts]: Start accepts. Automaton has has 6 states, 6 states have (on average 25.333333333333332) internal successors, (152), 6 states have internal predecessors, (152), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 162 [2021-10-31 03:16:54,267 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:54,274 INFO L225 Difference]: With dead ends: 5340 [2021-10-31 03:16:54,275 INFO L226 Difference]: Without dead ends: 3252 [2021-10-31 03:16:54,280 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=30, Invalid=42, Unknown=0, NotChecked=0, Total=72 [2021-10-31 03:16:54,283 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 3252 states. [2021-10-31 03:16:54,442 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 3252 to 3053. [2021-10-31 03:16:54,446 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3053 states, 3044 states have (on average 1.3919185282522997) internal successors, (4237), 3052 states have internal predecessors, (4237), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:54,454 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3053 states to 3053 states and 4237 transitions. [2021-10-31 03:16:54,455 INFO L78 Accepts]: Start accepts. Automaton has 3053 states and 4237 transitions. Word has length 162 [2021-10-31 03:16:54,455 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:54,455 INFO L470 AbstractCegarLoop]: Abstraction has 3053 states and 4237 transitions. [2021-10-31 03:16:54,456 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 6 states, 6 states have (on average 25.333333333333332) internal successors, (152), 6 states have internal predecessors, (152), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:54,456 INFO L276 IsEmpty]: Start isEmpty. Operand 3053 states and 4237 transitions. [2021-10-31 03:16:54,461 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 187 [2021-10-31 03:16:54,461 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:54,461 INFO L513 BasicCegarLoop]: trace histogram [3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:54,462 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable19 [2021-10-31 03:16:54,462 INFO L402 AbstractCegarLoop]: === Iteration 21 === Targeting ULTIMATE.startErr5ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:54,462 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:54,463 INFO L85 PathProgramCache]: Analyzing trace with hash -1026064295, now seen corresponding path program 1 times [2021-10-31 03:16:54,463 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:54,463 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [892948595] [2021-10-31 03:16:54,463 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:54,463 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:54,534 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:54,609 INFO L134 CoverageAnalysis]: Checked inductivity of 40 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 40 trivial. 0 not checked. [2021-10-31 03:16:54,610 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:54,610 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [892948595] [2021-10-31 03:16:54,610 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [892948595] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:54,610 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:54,611 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-31 03:16:54,611 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [328439481] [2021-10-31 03:16:54,611 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2021-10-31 03:16:54,612 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:54,613 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-31 03:16:54,613 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:54,613 INFO L87 Difference]: Start difference. First operand 3053 states and 4237 transitions. Second operand has 3 states, 3 states have (on average 55.666666666666664) internal successors, (167), 3 states have internal predecessors, (167), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:54,945 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:54,945 INFO L93 Difference]: Finished difference Result 5904 states and 8200 transitions. [2021-10-31 03:16:54,945 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-31 03:16:54,946 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 55.666666666666664) internal successors, (167), 3 states have internal predecessors, (167), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 186 [2021-10-31 03:16:54,946 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:54,952 INFO L225 Difference]: With dead ends: 5904 [2021-10-31 03:16:54,953 INFO L226 Difference]: Without dead ends: 3069 [2021-10-31 03:16:54,958 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-31 03:16:54,961 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 3069 states. [2021-10-31 03:16:55,100 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 3069 to 3053. [2021-10-31 03:16:55,104 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3053 states, 3044 states have (on average 1.376149802890933) internal successors, (4189), 3052 states have internal predecessors, (4189), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:55,111 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3053 states to 3053 states and 4189 transitions. [2021-10-31 03:16:55,111 INFO L78 Accepts]: Start accepts. Automaton has 3053 states and 4189 transitions. Word has length 186 [2021-10-31 03:16:55,112 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:55,112 INFO L470 AbstractCegarLoop]: Abstraction has 3053 states and 4189 transitions. [2021-10-31 03:16:55,112 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 55.666666666666664) internal successors, (167), 3 states have internal predecessors, (167), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:55,112 INFO L276 IsEmpty]: Start isEmpty. Operand 3053 states and 4189 transitions. [2021-10-31 03:16:55,117 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 190 [2021-10-31 03:16:55,117 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:55,118 INFO L513 BasicCegarLoop]: trace histogram [3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:55,118 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable20 [2021-10-31 03:16:55,119 INFO L402 AbstractCegarLoop]: === Iteration 22 === Targeting ULTIMATE.startErr5ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:55,120 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:55,120 INFO L85 PathProgramCache]: Analyzing trace with hash -933027478, now seen corresponding path program 1 times [2021-10-31 03:16:55,120 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:55,120 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [310705730] [2021-10-31 03:16:55,120 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:55,120 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:55,189 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:55,292 INFO L134 CoverageAnalysis]: Checked inductivity of 40 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 40 trivial. 0 not checked. [2021-10-31 03:16:55,292 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:55,292 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [310705730] [2021-10-31 03:16:55,292 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [310705730] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:55,292 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:55,293 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-31 03:16:55,293 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1226558400] [2021-10-31 03:16:55,293 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2021-10-31 03:16:55,293 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:55,294 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-31 03:16:55,294 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-31 03:16:55,294 INFO L87 Difference]: Start difference. First operand 3053 states and 4189 transitions. Second operand has 5 states, 5 states have (on average 34.0) internal successors, (170), 5 states have internal predecessors, (170), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:55,810 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:55,810 INFO L93 Difference]: Finished difference Result 7758 states and 10729 transitions. [2021-10-31 03:16:55,810 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-10-31 03:16:55,811 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 34.0) internal successors, (170), 5 states have internal predecessors, (170), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 189 [2021-10-31 03:16:55,811 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:55,827 INFO L225 Difference]: With dead ends: 7758 [2021-10-31 03:16:55,827 INFO L226 Difference]: Without dead ends: 7675 [2021-10-31 03:16:55,830 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 5 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=22, Invalid=34, Unknown=0, NotChecked=0, Total=56 [2021-10-31 03:16:55,836 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 7675 states. [2021-10-31 03:16:56,018 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 7675 to 2970. [2021-10-31 03:16:56,023 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2970 states, 2962 states have (on average 1.3781228899392302) internal successors, (4082), 2969 states have internal predecessors, (4082), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:56,029 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2970 states to 2970 states and 4082 transitions. [2021-10-31 03:16:56,030 INFO L78 Accepts]: Start accepts. Automaton has 2970 states and 4082 transitions. Word has length 189 [2021-10-31 03:16:56,030 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:56,030 INFO L470 AbstractCegarLoop]: Abstraction has 2970 states and 4082 transitions. [2021-10-31 03:16:56,031 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 34.0) internal successors, (170), 5 states have internal predecessors, (170), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:56,031 INFO L276 IsEmpty]: Start isEmpty. Operand 2970 states and 4082 transitions. [2021-10-31 03:16:56,036 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 191 [2021-10-31 03:16:56,036 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:56,037 INFO L513 BasicCegarLoop]: trace histogram [4, 4, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:56,037 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable21 [2021-10-31 03:16:56,037 INFO L402 AbstractCegarLoop]: === Iteration 23 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:56,037 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:56,037 INFO L85 PathProgramCache]: Analyzing trace with hash 217797297, now seen corresponding path program 1 times [2021-10-31 03:16:56,038 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:56,038 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1029901739] [2021-10-31 03:16:56,038 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:56,038 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:56,108 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:56,193 INFO L134 CoverageAnalysis]: Checked inductivity of 55 backedges. 15 proven. 0 refuted. 0 times theorem prover too weak. 40 trivial. 0 not checked. [2021-10-31 03:16:56,194 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:56,194 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1029901739] [2021-10-31 03:16:56,194 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1029901739] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:56,194 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:56,194 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-31 03:16:56,195 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [504380491] [2021-10-31 03:16:56,195 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2021-10-31 03:16:56,195 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:56,196 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-31 03:16:56,196 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-31 03:16:56,196 INFO L87 Difference]: Start difference. First operand 2970 states and 4082 transitions. Second operand has 5 states, 5 states have (on average 34.2) internal successors, (171), 5 states have internal predecessors, (171), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:56,745 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:56,745 INFO L93 Difference]: Finished difference Result 8738 states and 12101 transitions. [2021-10-31 03:16:56,745 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-10-31 03:16:56,746 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 34.2) internal successors, (171), 5 states have internal predecessors, (171), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 190 [2021-10-31 03:16:56,747 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:56,765 INFO L225 Difference]: With dead ends: 8738 [2021-10-31 03:16:56,765 INFO L226 Difference]: Without dead ends: 7674 [2021-10-31 03:16:56,769 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 5 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=22, Invalid=34, Unknown=0, NotChecked=0, Total=56 [2021-10-31 03:16:56,777 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 7674 states. [2021-10-31 03:16:56,963 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 7674 to 2969. [2021-10-31 03:16:56,967 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2969 states, 2961 states have (on average 1.3779128672745693) internal successors, (4080), 2968 states have internal predecessors, (4080), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:56,974 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2969 states to 2969 states and 4080 transitions. [2021-10-31 03:16:56,974 INFO L78 Accepts]: Start accepts. Automaton has 2969 states and 4080 transitions. Word has length 190 [2021-10-31 03:16:56,975 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:56,975 INFO L470 AbstractCegarLoop]: Abstraction has 2969 states and 4080 transitions. [2021-10-31 03:16:56,975 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 34.2) internal successors, (171), 5 states have internal predecessors, (171), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:56,976 INFO L276 IsEmpty]: Start isEmpty. Operand 2969 states and 4080 transitions. [2021-10-31 03:16:56,980 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 194 [2021-10-31 03:16:56,980 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:56,981 INFO L513 BasicCegarLoop]: trace histogram [3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:56,981 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable22 [2021-10-31 03:16:56,981 INFO L402 AbstractCegarLoop]: === Iteration 24 === Targeting ULTIMATE.startErr8ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:56,981 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:56,982 INFO L85 PathProgramCache]: Analyzing trace with hash 1980265828, now seen corresponding path program 1 times [2021-10-31 03:16:56,982 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:56,982 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1880367991] [2021-10-31 03:16:56,982 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:56,983 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:57,049 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:57,137 INFO L134 CoverageAnalysis]: Checked inductivity of 41 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 41 trivial. 0 not checked. [2021-10-31 03:16:57,137 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:57,137 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1880367991] [2021-10-31 03:16:57,138 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1880367991] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:57,139 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:57,140 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-31 03:16:57,140 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [758077764] [2021-10-31 03:16:57,140 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2021-10-31 03:16:57,140 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:57,141 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-31 03:16:57,141 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-31 03:16:57,141 INFO L87 Difference]: Start difference. First operand 2969 states and 4080 transitions. Second operand has 5 states, 5 states have (on average 34.6) internal successors, (173), 5 states have internal predecessors, (173), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:57,944 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:57,944 INFO L93 Difference]: Finished difference Result 9039 states and 12498 transitions. [2021-10-31 03:16:57,945 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-10-31 03:16:57,945 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 34.6) internal successors, (173), 5 states have internal predecessors, (173), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 193 [2021-10-31 03:16:57,946 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:57,971 INFO L225 Difference]: With dead ends: 9039 [2021-10-31 03:16:57,972 INFO L226 Difference]: Without dead ends: 9011 [2021-10-31 03:16:57,976 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 5 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=22, Invalid=34, Unknown=0, NotChecked=0, Total=56 [2021-10-31 03:16:57,985 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 9011 states. [2021-10-31 03:16:58,196 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 9011 to 2941. [2021-10-31 03:16:58,200 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2941 states, 2935 states have (on average 1.3792163543441227) internal successors, (4048), 2940 states have internal predecessors, (4048), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:58,206 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2941 states to 2941 states and 4048 transitions. [2021-10-31 03:16:58,206 INFO L78 Accepts]: Start accepts. Automaton has 2941 states and 4048 transitions. Word has length 193 [2021-10-31 03:16:58,206 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:58,207 INFO L470 AbstractCegarLoop]: Abstraction has 2941 states and 4048 transitions. [2021-10-31 03:16:58,207 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 34.6) internal successors, (173), 5 states have internal predecessors, (173), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:58,207 INFO L276 IsEmpty]: Start isEmpty. Operand 2941 states and 4048 transitions. [2021-10-31 03:16:58,212 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 206 [2021-10-31 03:16:58,212 INFO L505 BasicCegarLoop]: Found error trace [2021-10-31 03:16:58,213 INFO L513 BasicCegarLoop]: trace histogram [4, 4, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:16:58,213 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable23 [2021-10-31 03:16:58,213 INFO L402 AbstractCegarLoop]: === Iteration 25 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (and 18 more)] === [2021-10-31 03:16:58,214 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-31 03:16:58,214 INFO L85 PathProgramCache]: Analyzing trace with hash 1120931756, now seen corresponding path program 1 times [2021-10-31 03:16:58,214 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-31 03:16:58,214 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1057774989] [2021-10-31 03:16:58,214 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-31 03:16:58,215 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-31 03:16:58,287 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-31 03:16:58,379 INFO L134 CoverageAnalysis]: Checked inductivity of 56 backedges. 15 proven. 0 refuted. 0 times theorem prover too weak. 41 trivial. 0 not checked. [2021-10-31 03:16:58,379 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-31 03:16:58,380 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1057774989] [2021-10-31 03:16:58,380 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1057774989] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-31 03:16:58,380 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-31 03:16:58,380 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-31 03:16:58,380 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1254031096] [2021-10-31 03:16:58,381 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2021-10-31 03:16:58,381 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-31 03:16:58,381 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-31 03:16:58,381 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-31 03:16:58,382 INFO L87 Difference]: Start difference. First operand 2941 states and 4048 transitions. Second operand has 5 states, 5 states have (on average 37.0) internal successors, (185), 5 states have internal predecessors, (185), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:59,095 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-31 03:16:59,095 INFO L93 Difference]: Finished difference Result 9013 states and 12468 transitions. [2021-10-31 03:16:59,096 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-10-31 03:16:59,096 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 37.0) internal successors, (185), 5 states have internal predecessors, (185), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 205 [2021-10-31 03:16:59,097 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-10-31 03:16:59,097 INFO L225 Difference]: With dead ends: 9013 [2021-10-31 03:16:59,097 INFO L226 Difference]: Without dead ends: 0 [2021-10-31 03:16:59,108 INFO L786 BasicCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 5 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=22, Invalid=34, Unknown=0, NotChecked=0, Total=56 [2021-10-31 03:16:59,108 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 0 states. [2021-10-31 03:16:59,108 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 0 to 0. [2021-10-31 03:16:59,108 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 0 states, 0 states have (on average 0.0) internal successors, (0), 0 states have internal predecessors, (0), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:59,109 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 0 states to 0 states and 0 transitions. [2021-10-31 03:16:59,109 INFO L78 Accepts]: Start accepts. Automaton has 0 states and 0 transitions. Word has length 205 [2021-10-31 03:16:59,109 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-10-31 03:16:59,109 INFO L470 AbstractCegarLoop]: Abstraction has 0 states and 0 transitions. [2021-10-31 03:16:59,109 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 37.0) internal successors, (185), 5 states have internal predecessors, (185), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-31 03:16:59,109 INFO L276 IsEmpty]: Start isEmpty. Operand 0 states and 0 transitions. [2021-10-31 03:16:59,109 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2021-10-31 03:16:59,111 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,112 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,112 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,112 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,112 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,112 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,113 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr6ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,113 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr7ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,113 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr8ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,113 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr9ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,115 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr10ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,115 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr11ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,115 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr12ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,115 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr13ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,115 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr14ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,116 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr15ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,116 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr16ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,116 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr17ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,116 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr18ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,116 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr19ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,116 INFO L764 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr20ASSERT_VIOLATIONERROR_FUNCTION [2021-10-31 03:16:59,117 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable24 [2021-10-31 03:16:59,118 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends 0 states and 0 transitions. [2021-10-31 03:16:59,129 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:16:59,150 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:16:59,162 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:16:59,173 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:16:59,184 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:16:59,200 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:16:59,208 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:16:59,263 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:16:59,336 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:16:59,344 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:16:59,345 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:16:59,356 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:16:59,780 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,061 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,114 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,123 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,124 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,132 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,140 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,180 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,235 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,243 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,244 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,251 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,259 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,267 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,275 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,284 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,292 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,299 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,617 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,625 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,634 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,682 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,689 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,695 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,747 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,985 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:00,990 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,240 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,256 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,261 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,296 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,302 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,309 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,313 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,319 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,324 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,358 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,393 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,440 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,473 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,474 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,478 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,713 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,719 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,727 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,734 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,741 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,784 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,791 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,798 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,804 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:01,811 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,051 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,240 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,269 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,459 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,464 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,468 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,497 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,501 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,502 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,507 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,536 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,567 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,572 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,576 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,614 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,618 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,775 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:02,979 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,175 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,198 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,228 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,233 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,265 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,462 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,491 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,519 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,524 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,555 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,556 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,560 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,565 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,595 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,618 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,647 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,876 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,880 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,903 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:03,914 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,106 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,112 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,118 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,123 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,127 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,158 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,185 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,189 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,194 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,215 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,232 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,433 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,438 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,444 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,450 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,457 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,464 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,468 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,472 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,477 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,477 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,666 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,669 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,692 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,714 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,747 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,751 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,756 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,771 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,778 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,838 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,844 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,874 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,912 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,917 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,947 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,953 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,993 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:04,994 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,000 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,030 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,060 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,066 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,071 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,078 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,084 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,116 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,120 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,125 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,310 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,332 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,362 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,367 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,553 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,582 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,587 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,784 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,788 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,816 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,823 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,830 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:05,837 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:06,021 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:06,222 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:06,251 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:06,450 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:06,482 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:06,678 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:06,685 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:06,874 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:06,879 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,079 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,081 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,082 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,089 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,117 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,118 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,122 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,127 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,134 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,140 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,145 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,149 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,153 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,158 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,162 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,168 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,196 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,201 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,206 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,392 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,405 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,428 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,465 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,470 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,475 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,506 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,540 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,541 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,547 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,554 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,585 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,589 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,618 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,624 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,631 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,662 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,685 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,714 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,719 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,724 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,724 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,728 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,732 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,737 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,741 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,746 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,777 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,805 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,851 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,859 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,866 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,897 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,902 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,935 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,936 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,940 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,971 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,971 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,978 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,987 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,988 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:07,993 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,024 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,047 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,051 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,059 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,066 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,073 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,077 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,082 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,113 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,117 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,122 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,309 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,313 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,317 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,322 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,517 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,548 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,552 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,554 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,554 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,559 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,562 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,567 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,571 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,576 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,581 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,770 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,801 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,805 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,834 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,866 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,873 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,877 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,882 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,886 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,918 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,923 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,953 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,957 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,962 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:08,963 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,239 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,245 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,252 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,257 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,264 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,265 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,265 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,323 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,329 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,361 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,367 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,373 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,405 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,412 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,523 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,710 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,714 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,901 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,906 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,910 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,915 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,919 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,924 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,928 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,933 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,937 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:09,968 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,000 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,005 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,010 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,014 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,211 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,212 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,216 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,221 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,229 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,233 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,256 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,366 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,386 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,408 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,413 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,417 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,604 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,610 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,615 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,646 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,651 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,654 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,672 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,677 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,682 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,687 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,691 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,932 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,954 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:10,983 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,017 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,049 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,054 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,059 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,248 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,253 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,258 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,262 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,284 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,289 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,294 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,482 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,487 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,493 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,494 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,495 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,527 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,532 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,537 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,542 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,546 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,745 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,750 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,783 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,793 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,797 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,803 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,807 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,810 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,814 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,819 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,850 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,885 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,914 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,917 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,922 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,951 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,956 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,966 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:11,997 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,001 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,029 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,059 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,064 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,070 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,075 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,079 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,080 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,084 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,089 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,093 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,124 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,133 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,138 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,142 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,186 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,193 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,391 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,392 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,396 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,425 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,429 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,434 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,438 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,438 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,442 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,465 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,497 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,519 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,520 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,524 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,712 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,740 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,770 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,770 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,774 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,775 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,989 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,990 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,995 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:12,999 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,003 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,008 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,012 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,034 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,039 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,063 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,248 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,253 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,283 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,287 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,292 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,296 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,319 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,323 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,354 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,464 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,654 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,683 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,687 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,691 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,720 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,724 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,728 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,733 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,737 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,741 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,741 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,764 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,963 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:13,968 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,159 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,355 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,360 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,365 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,369 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,397 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,404 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,408 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,607 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,634 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,657 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,661 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,692 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,696 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,882 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,886 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,891 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,895 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:14,900 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,086 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,091 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,095 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,118 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,122 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,127 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,128 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,132 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,137 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,141 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,146 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,150 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,155 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,160 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,164 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,187 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,216 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,403 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,403 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,428 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,456 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,461 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,465 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,574 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,762 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,766 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,797 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,830 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:15,834 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,033 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,220 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,223 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,226 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,258 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,281 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,285 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,289 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,293 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,324 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,328 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,332 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,517 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,703 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,703 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,708 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,712 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,722 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,727 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,756 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,760 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,765 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,793 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,797 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,986 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:16,990 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,176 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,181 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,186 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,215 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,221 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,221 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,226 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,226 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,257 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,443 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,449 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,450 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,455 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,456 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,478 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,506 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,537 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,541 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,731 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,762 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,790 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,806 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,811 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,841 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,870 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,875 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,879 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,884 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,906 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,929 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,933 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,938 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,942 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,947 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,952 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:17,983 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:18,005 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:18,026 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:18,030 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:18,035 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:18,221 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:18,225 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:18,229 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:18,233 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:18,417 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:18,605 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:18,829 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:18,834 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:18,849 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:18,854 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:18,858 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:17:19,046 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout 10000 ms and remaining time -1 ms [2021-10-31 03:18:25,752 INFO L857 garLoopResultBuilder]: For program point L4463(line 4463) no Hoare annotation was computed. [2021-10-31 03:18:25,752 INFO L853 garLoopResultBuilder]: At program point L4201(lines 4133 4220) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,752 INFO L853 garLoopResultBuilder]: At program point L4995(lines 6111 6114) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1)) [2021-10-31 03:18:25,753 INFO L853 garLoopResultBuilder]: At program point L4467(lines 4449 4470) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,753 INFO L853 garLoopResultBuilder]: At program point L4203(lines 4133 4220) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,753 INFO L853 garLoopResultBuilder]: At program point L3939-1(lines 3939 3942) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,753 INFO L857 garLoopResultBuilder]: For program point L3939(lines 3939 3942) no Hoare annotation was computed. [2021-10-31 03:18:25,753 INFO L853 garLoopResultBuilder]: At program point L3939-3(lines 3939 3942) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,753 INFO L857 garLoopResultBuilder]: For program point L3939-2(lines 3939 3942) no Hoare annotation was computed. [2021-10-31 03:18:25,754 INFO L853 garLoopResultBuilder]: At program point L3939-5(lines 3939 3942) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,754 INFO L857 garLoopResultBuilder]: For program point L3939-4(lines 3939 3942) no Hoare annotation was computed. [2021-10-31 03:18:25,756 INFO L853 garLoopResultBuilder]: At program point L3939-7(lines 3939 3942) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,756 INFO L857 garLoopResultBuilder]: For program point L3939-6(lines 3939 3942) no Hoare annotation was computed. [2021-10-31 03:18:25,756 INFO L857 garLoopResultBuilder]: For program point L4732(lines 4732 4737) no Hoare annotation was computed. [2021-10-31 03:18:25,756 INFO L853 garLoopResultBuilder]: At program point L4469(lines 4442 4471) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,756 INFO L853 garLoopResultBuilder]: At program point L4206(lines 4133 4220) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,756 INFO L853 garLoopResultBuilder]: At program point L4735(lines 4690 4748) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,757 INFO L853 garLoopResultBuilder]: At program point L3943-1(lines 3898 3945) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,757 INFO L853 garLoopResultBuilder]: At program point L3943(lines 3898 3945) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,757 INFO L853 garLoopResultBuilder]: At program point L3943-3(lines 3898 3945) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,757 INFO L853 garLoopResultBuilder]: At program point L3943-2(lines 3898 3945) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,757 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr3ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,757 INFO L853 garLoopResultBuilder]: At program point L4208(lines 4133 4220) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,757 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr14ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,758 INFO L857 garLoopResultBuilder]: For program point L5001(line 5001) no Hoare annotation was computed. [2021-10-31 03:18:25,758 INFO L853 garLoopResultBuilder]: At program point L5266(lines 5257 5269) the Hoare annotation is: (let ((.cse0 (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|)) (.cse1 (= 1 ~ldv_mutex_mutex_of_device~0)) (.cse2 (= 2 ~ldv_mutex_lp_mutex~0)) (.cse3 (= ~ldv_mutex_i_mutex_of_inode~0 1)) (.cse4 (= ~ldv_mutex_lock~0 1)) (.cse5 (= ~ldv_retval_0~0 0))) (or (and .cse0 .cse1 (= (+ |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 4) 0) .cse2 (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) .cse3 .cse4 (= (+ |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 4) 0) .cse5) (and .cse0 .cse1 .cse2 (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) .cse3 (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) .cse4 .cse5 (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)))) [2021-10-31 03:18:25,758 INFO L853 garLoopResultBuilder]: At program point L5266-1(lines 5257 5269) the Hoare annotation is: (let ((.cse0 (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|)) (.cse1 (= 1 ~ldv_mutex_mutex_of_device~0)) (.cse2 (= 2 ~ldv_mutex_lp_mutex~0)) (.cse3 (= ~ldv_mutex_i_mutex_of_inode~0 1)) (.cse4 (= ~ldv_mutex_lock~0 1)) (.cse5 (= ~ldv_retval_0~0 0))) (or (and .cse0 .cse1 (= (+ |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 4) 0) .cse2 (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) .cse3 .cse4 (= (+ |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 4) 0) .cse5) (and .cse0 .cse1 .cse2 (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) .cse3 (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) .cse4 .cse5 (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)))) [2021-10-31 03:18:25,758 INFO L857 garLoopResultBuilder]: For program point L4738(lines 4738 4741) no Hoare annotation was computed. [2021-10-31 03:18:25,758 INFO L853 garLoopResultBuilder]: At program point L3681-1(lines 3678 3683) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,758 INFO L853 garLoopResultBuilder]: At program point L3681(lines 3678 3683) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,759 INFO L853 garLoopResultBuilder]: At program point L3681-3(lines 3678 3683) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,759 INFO L857 garLoopResultBuilder]: For program point L4738-2(lines 4738 4741) no Hoare annotation was computed. [2021-10-31 03:18:25,759 INFO L853 garLoopResultBuilder]: At program point L3681-2(lines 3678 3683) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,759 INFO L853 garLoopResultBuilder]: At program point L3681-5(lines 3678 3683) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,759 INFO L853 garLoopResultBuilder]: At program point L3681-4(lines 3678 3683) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,759 INFO L853 garLoopResultBuilder]: At program point L3681-6(lines 3678 3683) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,759 INFO L857 garLoopResultBuilder]: For program point L4210(lines 4210 4217) no Hoare annotation was computed. [2021-10-31 03:18:25,760 INFO L857 garLoopResultBuilder]: For program point L3419-1(lines 3419 3434) no Hoare annotation was computed. [2021-10-31 03:18:25,760 INFO L857 garLoopResultBuilder]: For program point L3419(lines 3419 3434) no Hoare annotation was computed. [2021-10-31 03:18:25,760 INFO L857 garLoopResultBuilder]: For program point L3419-3(lines 3419 3434) no Hoare annotation was computed. [2021-10-31 03:18:25,760 INFO L857 garLoopResultBuilder]: For program point L3419-2(lines 3419 3434) no Hoare annotation was computed. [2021-10-31 03:18:25,760 INFO L857 garLoopResultBuilder]: For program point L3419-5(lines 3419 3434) no Hoare annotation was computed. [2021-10-31 03:18:25,760 INFO L857 garLoopResultBuilder]: For program point L3419-4(lines 3419 3434) no Hoare annotation was computed. [2021-10-31 03:18:25,760 INFO L857 garLoopResultBuilder]: For program point L3419-7(lines 3419 3434) no Hoare annotation was computed. [2021-10-31 03:18:25,761 INFO L857 garLoopResultBuilder]: For program point L3419-6(lines 3419 3434) no Hoare annotation was computed. [2021-10-31 03:18:25,761 INFO L857 garLoopResultBuilder]: For program point L3419-9(lines 3419 3434) no Hoare annotation was computed. [2021-10-31 03:18:25,761 INFO L857 garLoopResultBuilder]: For program point L3419-8(lines 3419 3434) no Hoare annotation was computed. [2021-10-31 03:18:25,761 INFO L857 garLoopResultBuilder]: For program point L4212(lines 4212 4215) no Hoare annotation was computed. [2021-10-31 03:18:25,761 INFO L857 garLoopResultBuilder]: For program point L3419-11(lines 3419 3434) no Hoare annotation was computed. [2021-10-31 03:18:25,761 INFO L857 garLoopResultBuilder]: For program point L3419-10(lines 3419 3434) no Hoare annotation was computed. [2021-10-31 03:18:25,761 INFO L857 garLoopResultBuilder]: For program point L3419-12(lines 3419 3434) no Hoare annotation was computed. [2021-10-31 03:18:25,761 INFO L857 garLoopResultBuilder]: For program point L3420(line 3420) no Hoare annotation was computed. [2021-10-31 03:18:25,762 INFO L857 garLoopResultBuilder]: For program point L3420-2(line 3420) no Hoare annotation was computed. [2021-10-31 03:18:25,762 INFO L857 garLoopResultBuilder]: For program point L3420-1(line 3420) no Hoare annotation was computed. [2021-10-31 03:18:25,762 INFO L857 garLoopResultBuilder]: For program point L3420-4(line 3420) no Hoare annotation was computed. [2021-10-31 03:18:25,762 INFO L857 garLoopResultBuilder]: For program point L3420-3(line 3420) no Hoare annotation was computed. [2021-10-31 03:18:25,762 INFO L857 garLoopResultBuilder]: For program point L3420-6(line 3420) no Hoare annotation was computed. [2021-10-31 03:18:25,762 INFO L857 garLoopResultBuilder]: For program point L3420-5(line 3420) no Hoare annotation was computed. [2021-10-31 03:18:25,762 INFO L857 garLoopResultBuilder]: For program point L3420-8(line 3420) no Hoare annotation was computed. [2021-10-31 03:18:25,762 INFO L857 garLoopResultBuilder]: For program point L3420-7(line 3420) no Hoare annotation was computed. [2021-10-31 03:18:25,763 INFO L857 garLoopResultBuilder]: For program point L3420-10(line 3420) no Hoare annotation was computed. [2021-10-31 03:18:25,763 INFO L857 garLoopResultBuilder]: For program point L3420-9(line 3420) no Hoare annotation was computed. [2021-10-31 03:18:25,763 INFO L857 garLoopResultBuilder]: For program point L6063(lines 6063 6066) no Hoare annotation was computed. [2021-10-31 03:18:25,763 INFO L857 garLoopResultBuilder]: For program point L3420-12(line 3420) no Hoare annotation was computed. [2021-10-31 03:18:25,763 INFO L857 garLoopResultBuilder]: For program point L6063-1(lines 6063 6066) no Hoare annotation was computed. [2021-10-31 03:18:25,763 INFO L857 garLoopResultBuilder]: For program point L3420-11(line 3420) no Hoare annotation was computed. [2021-10-31 03:18:25,763 INFO L857 garLoopResultBuilder]: For program point L6063-4(lines 6063 6066) no Hoare annotation was computed. [2021-10-31 03:18:25,763 INFO L857 garLoopResultBuilder]: For program point L6063-5(lines 6063 6066) no Hoare annotation was computed. [2021-10-31 03:18:25,764 INFO L857 garLoopResultBuilder]: For program point L6063-2(lines 6063 6066) no Hoare annotation was computed. [2021-10-31 03:18:25,764 INFO L857 garLoopResultBuilder]: For program point L6063-3(lines 6063 6066) no Hoare annotation was computed. [2021-10-31 03:18:25,764 INFO L857 garLoopResultBuilder]: For program point L6063-8(lines 6063 6066) no Hoare annotation was computed. [2021-10-31 03:18:25,764 INFO L857 garLoopResultBuilder]: For program point L6063-9(lines 6063 6066) no Hoare annotation was computed. [2021-10-31 03:18:25,764 INFO L857 garLoopResultBuilder]: For program point L6063-6(lines 6063 6066) no Hoare annotation was computed. [2021-10-31 03:18:25,764 INFO L857 garLoopResultBuilder]: For program point L6063-7(lines 6063 6066) no Hoare annotation was computed. [2021-10-31 03:18:25,764 INFO L857 garLoopResultBuilder]: For program point L5008(line 5008) no Hoare annotation was computed. [2021-10-31 03:18:25,764 INFO L853 garLoopResultBuilder]: At program point L3687-1(lines 3684 3689) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,765 INFO L853 garLoopResultBuilder]: At program point L3687(lines 3684 3689) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,765 INFO L853 garLoopResultBuilder]: At program point L3687-3(lines 3684 3689) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,765 INFO L853 garLoopResultBuilder]: At program point L3687-2(lines 3684 3689) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,765 INFO L853 garLoopResultBuilder]: At program point L3687-4(lines 3684 3689) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,765 INFO L857 garLoopResultBuilder]: For program point L3423-1(line 3423) no Hoare annotation was computed. [2021-10-31 03:18:25,765 INFO L857 garLoopResultBuilder]: For program point L3423(line 3423) no Hoare annotation was computed. [2021-10-31 03:18:25,765 INFO L857 garLoopResultBuilder]: For program point L3423-3(line 3423) no Hoare annotation was computed. [2021-10-31 03:18:25,766 INFO L857 garLoopResultBuilder]: For program point L3423-2(line 3423) no Hoare annotation was computed. [2021-10-31 03:18:25,766 INFO L857 garLoopResultBuilder]: For program point L3423-5(line 3423) no Hoare annotation was computed. [2021-10-31 03:18:25,766 INFO L857 garLoopResultBuilder]: For program point L3423-4(line 3423) no Hoare annotation was computed. [2021-10-31 03:18:25,766 INFO L857 garLoopResultBuilder]: For program point L3423-7(line 3423) no Hoare annotation was computed. [2021-10-31 03:18:25,766 INFO L857 garLoopResultBuilder]: For program point L3423-6(line 3423) no Hoare annotation was computed. [2021-10-31 03:18:25,766 INFO L857 garLoopResultBuilder]: For program point L3423-9(line 3423) no Hoare annotation was computed. [2021-10-31 03:18:25,766 INFO L857 garLoopResultBuilder]: For program point L3423-8(line 3423) no Hoare annotation was computed. [2021-10-31 03:18:25,766 INFO L857 garLoopResultBuilder]: For program point L3423-11(line 3423) no Hoare annotation was computed. [2021-10-31 03:18:25,767 INFO L857 garLoopResultBuilder]: For program point L3423-10(line 3423) no Hoare annotation was computed. [2021-10-31 03:18:25,767 INFO L857 garLoopResultBuilder]: For program point L3423-12(line 3423) no Hoare annotation was computed. [2021-10-31 03:18:25,767 INFO L857 garLoopResultBuilder]: For program point L5009(lines 5009 5076) no Hoare annotation was computed. [2021-10-31 03:18:25,767 INFO L857 garLoopResultBuilder]: For program point L3953-1(lines 3953 3956) no Hoare annotation was computed. [2021-10-31 03:18:25,767 INFO L857 garLoopResultBuilder]: For program point L3953(lines 3953 3956) no Hoare annotation was computed. [2021-10-31 03:18:25,767 INFO L857 garLoopResultBuilder]: For program point L3953-3(lines 3953 3956) no Hoare annotation was computed. [2021-10-31 03:18:25,767 INFO L857 garLoopResultBuilder]: For program point L3953-2(lines 3953 3956) no Hoare annotation was computed. [2021-10-31 03:18:25,767 INFO L853 garLoopResultBuilder]: At program point L6068-1(lines 6060 6070) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,768 INFO L857 garLoopResultBuilder]: For program point L5011(lines 5011 5073) no Hoare annotation was computed. [2021-10-31 03:18:25,768 INFO L853 garLoopResultBuilder]: At program point L6068-2(lines 6060 6070) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,768 INFO L853 garLoopResultBuilder]: At program point L6068(lines 6060 6070) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,768 INFO L853 garLoopResultBuilder]: At program point L6068-3(lines 6060 6070) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,768 INFO L853 garLoopResultBuilder]: At program point L6068-4(lines 6060 6070) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,768 INFO L853 garLoopResultBuilder]: At program point L4747(lines 4677 4749) the Hoare annotation is: (let ((.cse0 (= ~ldv_mutex_lp_mutex~0 1)) (.cse1 (= ~ldv_state_variable_0~0 1)) (.cse2 (= 1 ~ldv_mutex_mutex_of_device~0)) (.cse3 (= ~ldv_mutex_port_mutex_of_lp_struct~0 1)) (.cse4 (= ~ldv_mutex_i_mutex_of_inode~0 1)) (.cse5 (= ~ldv_mutex_lock~0 1)) (.cse6 (= ~ldv_retval_0~0 0))) (or (and .cse0 .cse1 .cse2 .cse3 .cse4 .cse5 (= ~ldv_state_variable_3~0 1) .cse6) (and .cse0 .cse1 .cse2 .cse3 .cse4 .cse5 .cse6 (= ~ldv_state_variable_3~0 0)) (and .cse0 .cse1 .cse2 .cse3 .cse4 (<= (+ 5 |ULTIMATE.start_lp_init_#res|) 0) .cse5 .cse6) (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) .cse0 .cse1 .cse2 .cse3 .cse4 .cse5 .cse6))) [2021-10-31 03:18:25,769 INFO L857 garLoopResultBuilder]: For program point L3426(line 3426) no Hoare annotation was computed. [2021-10-31 03:18:25,769 INFO L857 garLoopResultBuilder]: For program point L3426-2(line 3426) no Hoare annotation was computed. [2021-10-31 03:18:25,769 INFO L857 garLoopResultBuilder]: For program point L3426-1(line 3426) no Hoare annotation was computed. [2021-10-31 03:18:25,769 INFO L857 garLoopResultBuilder]: For program point L3426-4(line 3426) no Hoare annotation was computed. [2021-10-31 03:18:25,769 INFO L857 garLoopResultBuilder]: For program point L3426-3(line 3426) no Hoare annotation was computed. [2021-10-31 03:18:25,769 INFO L857 garLoopResultBuilder]: For program point L3426-6(line 3426) no Hoare annotation was computed. [2021-10-31 03:18:25,769 INFO L853 garLoopResultBuilder]: At program point L4219(lines 4116 4221) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,769 INFO L857 garLoopResultBuilder]: For program point L3426-5(line 3426) no Hoare annotation was computed. [2021-10-31 03:18:25,770 INFO L857 garLoopResultBuilder]: For program point L3426-8(line 3426) no Hoare annotation was computed. [2021-10-31 03:18:25,770 INFO L857 garLoopResultBuilder]: For program point L3426-7(line 3426) no Hoare annotation was computed. [2021-10-31 03:18:25,770 INFO L857 garLoopResultBuilder]: For program point L3426-10(line 3426) no Hoare annotation was computed. [2021-10-31 03:18:25,770 INFO L857 garLoopResultBuilder]: For program point L3426-9(line 3426) no Hoare annotation was computed. [2021-10-31 03:18:25,770 INFO L857 garLoopResultBuilder]: For program point L3426-12(line 3426) no Hoare annotation was computed. [2021-10-31 03:18:25,770 INFO L857 garLoopResultBuilder]: For program point L3426-11(line 3426) no Hoare annotation was computed. [2021-10-31 03:18:25,770 INFO L857 garLoopResultBuilder]: For program point L5012(line 5012) no Hoare annotation was computed. [2021-10-31 03:18:25,770 INFO L857 garLoopResultBuilder]: For program point L5013-2(lines 5011 5073) no Hoare annotation was computed. [2021-10-31 03:18:25,771 INFO L857 garLoopResultBuilder]: For program point L5013(lines 5013 5017) no Hoare annotation was computed. [2021-10-31 03:18:25,771 INFO L857 garLoopResultBuilder]: For program point L4485(lines 4485 4500) no Hoare annotation was computed. [2021-10-31 03:18:25,771 INFO L857 garLoopResultBuilder]: For program point L4486(line 4486) no Hoare annotation was computed. [2021-10-31 03:18:25,771 INFO L857 garLoopResultBuilder]: For program point L3429-1(line 3429) no Hoare annotation was computed. [2021-10-31 03:18:25,771 INFO L857 garLoopResultBuilder]: For program point L3429(line 3429) no Hoare annotation was computed. [2021-10-31 03:18:25,771 INFO L857 garLoopResultBuilder]: For program point L3429-3(line 3429) no Hoare annotation was computed. [2021-10-31 03:18:25,771 INFO L857 garLoopResultBuilder]: For program point L3429-2(line 3429) no Hoare annotation was computed. [2021-10-31 03:18:25,771 INFO L857 garLoopResultBuilder]: For program point L3429-5(line 3429) no Hoare annotation was computed. [2021-10-31 03:18:25,772 INFO L857 garLoopResultBuilder]: For program point L3429-4(line 3429) no Hoare annotation was computed. [2021-10-31 03:18:25,772 INFO L857 garLoopResultBuilder]: For program point L3429-7(line 3429) no Hoare annotation was computed. [2021-10-31 03:18:25,772 INFO L857 garLoopResultBuilder]: For program point L3429-6(line 3429) no Hoare annotation was computed. [2021-10-31 03:18:25,772 INFO L857 garLoopResultBuilder]: For program point L3429-9(line 3429) no Hoare annotation was computed. [2021-10-31 03:18:25,772 INFO L857 garLoopResultBuilder]: For program point L3429-8(line 3429) no Hoare annotation was computed. [2021-10-31 03:18:25,772 INFO L857 garLoopResultBuilder]: For program point L3429-11(line 3429) no Hoare annotation was computed. [2021-10-31 03:18:25,772 INFO L857 garLoopResultBuilder]: For program point L3429-10(line 3429) no Hoare annotation was computed. [2021-10-31 03:18:25,772 INFO L857 garLoopResultBuilder]: For program point L3429-12(line 3429) no Hoare annotation was computed. [2021-10-31 03:18:25,772 INFO L857 garLoopResultBuilder]: For program point L3959-1(line 3959) no Hoare annotation was computed. [2021-10-31 03:18:25,773 INFO L857 garLoopResultBuilder]: For program point L3959(line 3959) no Hoare annotation was computed. [2021-10-31 03:18:25,773 INFO L857 garLoopResultBuilder]: For program point L3959-3(line 3959) no Hoare annotation was computed. [2021-10-31 03:18:25,773 INFO L857 garLoopResultBuilder]: For program point L3959-5(lines 3959 3962) no Hoare annotation was computed. [2021-10-31 03:18:25,773 INFO L857 garLoopResultBuilder]: For program point L3959-7(line 3959) no Hoare annotation was computed. [2021-10-31 03:18:25,773 INFO L857 garLoopResultBuilder]: For program point L3959-6(line 3959) no Hoare annotation was computed. [2021-10-31 03:18:25,773 INFO L857 garLoopResultBuilder]: For program point L3959-9(line 3959) no Hoare annotation was computed. [2021-10-31 03:18:25,773 INFO L857 garLoopResultBuilder]: For program point L3959-11(lines 3959 3962) no Hoare annotation was computed. [2021-10-31 03:18:25,773 INFO L857 garLoopResultBuilder]: For program point L3959-13(line 3959) no Hoare annotation was computed. [2021-10-31 03:18:25,774 INFO L857 garLoopResultBuilder]: For program point L3959-12(line 3959) no Hoare annotation was computed. [2021-10-31 03:18:25,774 INFO L857 garLoopResultBuilder]: For program point L3959-15(line 3959) no Hoare annotation was computed. [2021-10-31 03:18:25,774 INFO L857 garLoopResultBuilder]: For program point L3959-17(lines 3959 3962) no Hoare annotation was computed. [2021-10-31 03:18:25,774 INFO L857 garLoopResultBuilder]: For program point L3959-19(line 3959) no Hoare annotation was computed. [2021-10-31 03:18:25,774 INFO L857 garLoopResultBuilder]: For program point L3959-18(line 3959) no Hoare annotation was computed. [2021-10-31 03:18:25,774 INFO L857 garLoopResultBuilder]: For program point L3959-21(line 3959) no Hoare annotation was computed. [2021-10-31 03:18:25,774 INFO L857 garLoopResultBuilder]: For program point L3959-23(lines 3959 3962) no Hoare annotation was computed. [2021-10-31 03:18:25,774 INFO L857 garLoopResultBuilder]: For program point L3432(line 3432) no Hoare annotation was computed. [2021-10-31 03:18:25,775 INFO L857 garLoopResultBuilder]: For program point L3432-2(line 3432) no Hoare annotation was computed. [2021-10-31 03:18:25,775 INFO L857 garLoopResultBuilder]: For program point L4489(lines 4489 4493) no Hoare annotation was computed. [2021-10-31 03:18:25,775 INFO L857 garLoopResultBuilder]: For program point L3432-4(line 3432) no Hoare annotation was computed. [2021-10-31 03:18:25,775 INFO L857 garLoopResultBuilder]: For program point L3432-6(line 3432) no Hoare annotation was computed. [2021-10-31 03:18:25,775 INFO L857 garLoopResultBuilder]: For program point L3432-8(line 3432) no Hoare annotation was computed. [2021-10-31 03:18:25,775 INFO L857 garLoopResultBuilder]: For program point L3432-10(line 3432) no Hoare annotation was computed. [2021-10-31 03:18:25,775 INFO L857 garLoopResultBuilder]: For program point L3432-12(line 3432) no Hoare annotation was computed. [2021-10-31 03:18:25,775 INFO L857 garLoopResultBuilder]: For program point L3432-14(line 3432) no Hoare annotation was computed. [2021-10-31 03:18:25,776 INFO L857 garLoopResultBuilder]: For program point L3432-16(line 3432) no Hoare annotation was computed. [2021-10-31 03:18:25,776 INFO L857 garLoopResultBuilder]: For program point L3432-18(line 3432) no Hoare annotation was computed. [2021-10-31 03:18:25,776 INFO L857 garLoopResultBuilder]: For program point L3432-20(line 3432) no Hoare annotation was computed. [2021-10-31 03:18:25,776 INFO L857 garLoopResultBuilder]: For program point L3432-22(line 3432) no Hoare annotation was computed. [2021-10-31 03:18:25,776 INFO L857 garLoopResultBuilder]: For program point L3432-24(line 3432) no Hoare annotation was computed. [2021-10-31 03:18:25,776 INFO L853 garLoopResultBuilder]: At program point L3698(lines 3693 3700) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,776 INFO L857 garLoopResultBuilder]: For program point L-1(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,776 INFO L857 garLoopResultBuilder]: For program point L-1-1(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,777 INFO L857 garLoopResultBuilder]: For program point L-1-2(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,777 INFO L857 garLoopResultBuilder]: For program point L-1-3(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,777 INFO L857 garLoopResultBuilder]: For program point L-1-4(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,777 INFO L857 garLoopResultBuilder]: For program point L-1-5(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,777 INFO L857 garLoopResultBuilder]: For program point L-1-6(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,777 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,777 INFO L853 garLoopResultBuilder]: At program point L-1-8(line -1) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,777 INFO L857 garLoopResultBuilder]: For program point L-1-9(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,778 INFO L853 garLoopResultBuilder]: At program point L-1-11(line -1) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,778 INFO L857 garLoopResultBuilder]: For program point L-1-12(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,778 INFO L853 garLoopResultBuilder]: At program point L-1-14(line -1) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,778 INFO L857 garLoopResultBuilder]: For program point L-1-15(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,778 INFO L853 garLoopResultBuilder]: At program point L-1-17(line -1) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,778 INFO L857 garLoopResultBuilder]: For program point L-1-18(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,778 INFO L853 garLoopResultBuilder]: At program point L-1-20(line -1) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,779 INFO L853 garLoopResultBuilder]: At program point L3435-1(lines 3418 3437) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,779 INFO L857 garLoopResultBuilder]: For program point L-1-21(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,779 INFO L853 garLoopResultBuilder]: At program point L3435(lines 3418 3437) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,779 INFO L853 garLoopResultBuilder]: At program point L3435-3(lines 3418 3437) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,779 INFO L853 garLoopResultBuilder]: At program point L-1-23(line -1) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,779 INFO L853 garLoopResultBuilder]: At program point L3435-2(lines 3418 3437) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,780 INFO L857 garLoopResultBuilder]: For program point L-1-24(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,780 INFO L853 garLoopResultBuilder]: At program point L3435-5(lines 3418 3437) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,780 INFO L853 garLoopResultBuilder]: At program point L3435-4(lines 3418 3437) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,780 INFO L853 garLoopResultBuilder]: At program point L-1-26(line -1) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,780 INFO L853 garLoopResultBuilder]: At program point L3435-7(lines 3418 3437) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,781 INFO L857 garLoopResultBuilder]: For program point L-1-27(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,781 INFO L853 garLoopResultBuilder]: At program point L3435-6(lines 3418 3437) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,781 INFO L853 garLoopResultBuilder]: At program point L3435-9(lines 3418 3437) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,781 INFO L853 garLoopResultBuilder]: At program point L-1-29(line -1) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,781 INFO L853 garLoopResultBuilder]: At program point L3435-8(lines 3418 3437) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,781 INFO L857 garLoopResultBuilder]: For program point L-1-30(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,781 INFO L853 garLoopResultBuilder]: At program point L3435-11(lines 3418 3437) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,782 INFO L853 garLoopResultBuilder]: At program point L3435-10(lines 3418 3437) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,782 INFO L853 garLoopResultBuilder]: At program point L-1-32(line -1) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,782 INFO L857 garLoopResultBuilder]: For program point L-1-33(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,782 INFO L853 garLoopResultBuilder]: At program point L3435-12(lines 3418 3437) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,782 INFO L857 garLoopResultBuilder]: For program point L-1-34(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,782 INFO L857 garLoopResultBuilder]: For program point L-1-35(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,782 INFO L853 garLoopResultBuilder]: At program point L-1-36(line -1) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,783 INFO L857 garLoopResultBuilder]: For program point L-1-37(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,783 INFO L857 garLoopResultBuilder]: For program point L-1-38(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,783 INFO L853 garLoopResultBuilder]: At program point L-1-39(line -1) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,783 INFO L857 garLoopResultBuilder]: For program point L-1-40(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,783 INFO L857 garLoopResultBuilder]: For program point L-1-41(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,783 INFO L857 garLoopResultBuilder]: For program point L-1-42(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,783 INFO L853 garLoopResultBuilder]: At program point L-1-43(line -1) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,784 INFO L853 garLoopResultBuilder]: At program point L-1-44(line -1) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,784 INFO L853 garLoopResultBuilder]: At program point L-1-45(line -1) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,784 INFO L853 garLoopResultBuilder]: At program point L-1-46(line -1) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,784 INFO L853 garLoopResultBuilder]: At program point L-1-47(line -1) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,784 INFO L857 garLoopResultBuilder]: For program point L-1-48(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,784 INFO L857 garLoopResultBuilder]: For program point L-1-49(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,785 INFO L853 garLoopResultBuilder]: At program point L3436(lines 3415 3438) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,785 INFO L853 garLoopResultBuilder]: At program point L-1-50(line -1) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,785 INFO L853 garLoopResultBuilder]: At program point L-1-51(line -1) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,785 INFO L853 garLoopResultBuilder]: At program point L3436-2(lines 3415 3438) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,785 INFO L853 garLoopResultBuilder]: At program point L-1-52(line -1) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,785 INFO L853 garLoopResultBuilder]: At program point L3436-1(lines 3415 3438) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,785 INFO L857 garLoopResultBuilder]: For program point L-1-53(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,786 INFO L853 garLoopResultBuilder]: At program point L3436-4(lines 3415 3438) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,786 INFO L857 garLoopResultBuilder]: For program point L-1-54(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,786 INFO L853 garLoopResultBuilder]: At program point L3436-3(lines 3415 3438) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,786 INFO L853 garLoopResultBuilder]: At program point L-1-55(line -1) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,786 INFO L853 garLoopResultBuilder]: At program point L3436-6(lines 3415 3438) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,786 INFO L853 garLoopResultBuilder]: At program point L3436-5(lines 3415 3438) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,787 INFO L853 garLoopResultBuilder]: At program point L3436-8(lines 3415 3438) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,787 INFO L853 garLoopResultBuilder]: At program point L3436-7(lines 3415 3438) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,787 INFO L853 garLoopResultBuilder]: At program point L3436-10(lines 3415 3438) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,787 INFO L853 garLoopResultBuilder]: At program point L3436-9(lines 3415 3438) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,787 INFO L853 garLoopResultBuilder]: At program point L3436-12(lines 3415 3438) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,787 INFO L853 garLoopResultBuilder]: At program point L3436-11(lines 3415 3438) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,788 INFO L857 garLoopResultBuilder]: For program point L3965-1(lines 3965 3969) no Hoare annotation was computed. [2021-10-31 03:18:25,788 INFO L857 garLoopResultBuilder]: For program point L3965(lines 3965 3969) no Hoare annotation was computed. [2021-10-31 03:18:25,788 INFO L857 garLoopResultBuilder]: For program point L3965-3(lines 3965 3969) no Hoare annotation was computed. [2021-10-31 03:18:25,788 INFO L857 garLoopResultBuilder]: For program point L3965-2(lines 3965 3969) no Hoare annotation was computed. [2021-10-31 03:18:25,788 INFO L857 garLoopResultBuilder]: For program point L5024(line 5024) no Hoare annotation was computed. [2021-10-31 03:18:25,788 INFO L857 garLoopResultBuilder]: For program point L4760-1(lines 4760 4789) no Hoare annotation was computed. [2021-10-31 03:18:25,788 INFO L857 garLoopResultBuilder]: For program point L4760(lines 4760 4789) no Hoare annotation was computed. [2021-10-31 03:18:25,788 INFO L857 garLoopResultBuilder]: For program point L4496(line 4496) no Hoare annotation was computed. [2021-10-31 03:18:25,789 INFO L857 garLoopResultBuilder]: For program point L5025(lines 5025 5030) no Hoare annotation was computed. [2021-10-31 03:18:25,789 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr11ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,789 INFO L857 garLoopResultBuilder]: For program point L4762(lines 4762 4787) no Hoare annotation was computed. [2021-10-31 03:18:25,789 INFO L857 garLoopResultBuilder]: For program point L3970(lines 3970 3973) no Hoare annotation was computed. [2021-10-31 03:18:25,789 INFO L857 garLoopResultBuilder]: For program point L3970-2(lines 3970 3973) no Hoare annotation was computed. [2021-10-31 03:18:25,789 INFO L857 garLoopResultBuilder]: For program point L3970-1(lines 3970 3973) no Hoare annotation was computed. [2021-10-31 03:18:25,789 INFO L857 garLoopResultBuilder]: For program point L3970-3(lines 3970 3973) no Hoare annotation was computed. [2021-10-31 03:18:25,790 INFO L853 garLoopResultBuilder]: At program point L3971-1(lines 3951 3976) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,790 INFO L853 garLoopResultBuilder]: At program point L3971(lines 3951 3976) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,790 INFO L853 garLoopResultBuilder]: At program point L3971-3(lines 3951 3976) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,790 INFO L853 garLoopResultBuilder]: At program point L3971-2(lines 3951 3976) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,790 INFO L853 garLoopResultBuilder]: At program point L4501(lines 4481 4504) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,790 INFO L853 garLoopResultBuilder]: At program point L3974(lines 3951 3976) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,791 INFO L853 garLoopResultBuilder]: At program point L3974-2(lines 3951 3976) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,791 INFO L853 garLoopResultBuilder]: At program point L3974-1(lines 3951 3976) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,791 INFO L853 garLoopResultBuilder]: At program point L3974-3(lines 3951 3976) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,791 INFO L853 garLoopResultBuilder]: At program point L4503(lines 4472 4505) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,791 INFO L853 garLoopResultBuilder]: At program point L3975-1(lines 3946 3977) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,791 INFO L853 garLoopResultBuilder]: At program point L3975(lines 3946 3977) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,792 INFO L857 garLoopResultBuilder]: For program point L5032(line 5032) no Hoare annotation was computed. [2021-10-31 03:18:25,792 INFO L853 garLoopResultBuilder]: At program point L3975-3(lines 3946 3977) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,792 INFO L853 garLoopResultBuilder]: At program point L3975-2(lines 3946 3977) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,792 INFO L857 garLoopResultBuilder]: For program point L5033(lines 5033 5037) no Hoare annotation was computed. [2021-10-31 03:18:25,792 INFO L857 garLoopResultBuilder]: For program point L4769(lines 4769 4780) no Hoare annotation was computed. [2021-10-31 03:18:25,792 INFO L857 garLoopResultBuilder]: For program point L3449-1(lines 3449 3464) no Hoare annotation was computed. [2021-10-31 03:18:25,792 INFO L857 garLoopResultBuilder]: For program point L3449(lines 3449 3464) no Hoare annotation was computed. [2021-10-31 03:18:25,792 INFO L857 garLoopResultBuilder]: For program point L4242(lines 4242 4246) no Hoare annotation was computed. [2021-10-31 03:18:25,793 INFO L857 garLoopResultBuilder]: For program point L3450(line 3450) no Hoare annotation was computed. [2021-10-31 03:18:25,793 INFO L857 garLoopResultBuilder]: For program point L3450-1(line 3450) no Hoare annotation was computed. [2021-10-31 03:18:25,793 INFO L857 garLoopResultBuilder]: For program point L4774(lines 4774 4779) no Hoare annotation was computed. [2021-10-31 03:18:25,793 INFO L857 garLoopResultBuilder]: For program point L4774-1(lines 4769 4780) no Hoare annotation was computed. [2021-10-31 03:18:25,793 INFO L857 garLoopResultBuilder]: For program point L3453-1(line 3453) no Hoare annotation was computed. [2021-10-31 03:18:25,793 INFO L857 garLoopResultBuilder]: For program point L3453(line 3453) no Hoare annotation was computed. [2021-10-31 03:18:25,793 INFO L857 garLoopResultBuilder]: For program point L5039(line 5039) no Hoare annotation was computed. [2021-10-31 03:18:25,793 INFO L857 garLoopResultBuilder]: For program point L5040(lines 5040 5044) no Hoare annotation was computed. [2021-10-31 03:18:25,794 INFO L857 garLoopResultBuilder]: For program point L4248(lines 4248 4252) no Hoare annotation was computed. [2021-10-31 03:18:25,794 INFO L857 garLoopResultBuilder]: For program point L3456(line 3456) no Hoare annotation was computed. [2021-10-31 03:18:25,794 INFO L857 garLoopResultBuilder]: For program point L3456-1(line 3456) no Hoare annotation was computed. [2021-10-31 03:18:25,794 INFO L857 garLoopResultBuilder]: For program point L3459-1(line 3459) no Hoare annotation was computed. [2021-10-31 03:18:25,794 INFO L857 garLoopResultBuilder]: For program point L3459(line 3459) no Hoare annotation was computed. [2021-10-31 03:18:25,794 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr8ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,794 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr19ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,794 INFO L857 garLoopResultBuilder]: For program point L4253-2(lines 4253 4278) no Hoare annotation was computed. [2021-10-31 03:18:25,795 INFO L857 garLoopResultBuilder]: For program point L4253(line 4253) no Hoare annotation was computed. [2021-10-31 03:18:25,795 INFO L857 garLoopResultBuilder]: For program point L5046(line 5046) no Hoare annotation was computed. [2021-10-31 03:18:25,795 INFO L857 garLoopResultBuilder]: For program point L4253-4(lines 4253 4278) no Hoare annotation was computed. [2021-10-31 03:18:25,795 INFO L853 garLoopResultBuilder]: At program point L4782(lines 4764 4787) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,795 INFO L857 garLoopResultBuilder]: For program point L5047(lines 5047 5051) no Hoare annotation was computed. [2021-10-31 03:18:25,795 INFO L857 garLoopResultBuilder]: For program point L4783(line 4783) no Hoare annotation was computed. [2021-10-31 03:18:25,795 INFO L857 garLoopResultBuilder]: For program point L4783-2(lines 4783 4786) no Hoare annotation was computed. [2021-10-31 03:18:25,795 INFO L857 garLoopResultBuilder]: For program point L3462(line 3462) no Hoare annotation was computed. [2021-10-31 03:18:25,796 INFO L857 garLoopResultBuilder]: For program point L3462-2(line 3462) no Hoare annotation was computed. [2021-10-31 03:18:25,796 INFO L853 garLoopResultBuilder]: At program point L4784(lines 4764 4787) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,796 INFO L857 garLoopResultBuilder]: For program point L3727(lines 3727 3731) no Hoare annotation was computed. [2021-10-31 03:18:25,796 INFO L857 garLoopResultBuilder]: For program point L3727-2(lines 3727 3731) no Hoare annotation was computed. [2021-10-31 03:18:25,796 INFO L857 garLoopResultBuilder]: For program point L3727-4(lines 3727 3731) no Hoare annotation was computed. [2021-10-31 03:18:25,796 INFO L857 garLoopResultBuilder]: For program point L3727-6(lines 3727 3731) no Hoare annotation was computed. [2021-10-31 03:18:25,796 INFO L857 garLoopResultBuilder]: For program point L3727-8(lines 3727 3731) no Hoare annotation was computed. [2021-10-31 03:18:25,797 INFO L853 garLoopResultBuilder]: At program point L3465-1(lines 3448 3467) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,797 INFO L853 garLoopResultBuilder]: At program point L3465(lines 3448 3467) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,797 INFO L853 garLoopResultBuilder]: At program point L3466(lines 3445 3468) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,797 INFO L853 garLoopResultBuilder]: At program point L3466-1(lines 3445 3468) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,797 INFO L857 garLoopResultBuilder]: For program point L5053(line 5053) no Hoare annotation was computed. [2021-10-31 03:18:25,797 INFO L853 garLoopResultBuilder]: At program point L3732(lines 3717 3734) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,798 INFO L853 garLoopResultBuilder]: At program point L3732-2(lines 3717 3734) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,798 INFO L853 garLoopResultBuilder]: At program point L3732-1(lines 3717 3734) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,798 INFO L853 garLoopResultBuilder]: At program point L3732-4(lines 3717 3734) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,798 INFO L853 garLoopResultBuilder]: At program point L3732-3(lines 3717 3734) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,798 INFO L857 garLoopResultBuilder]: For program point L4525(lines 4525 4528) no Hoare annotation was computed. [2021-10-31 03:18:25,798 INFO L857 garLoopResultBuilder]: For program point L6111(lines 6110 6132) no Hoare annotation was computed. [2021-10-31 03:18:25,798 INFO L857 garLoopResultBuilder]: For program point L5054(lines 5054 5062) no Hoare annotation was computed. [2021-10-31 03:18:25,799 INFO L853 garLoopResultBuilder]: At program point L4791(lines 4750 4793) the Hoare annotation is: (let ((.cse0 (= ~ldv_mutex_lp_mutex~0 1)) (.cse1 (= ~ldv_state_variable_0~0 1)) (.cse2 (= 1 ~ldv_mutex_mutex_of_device~0)) (.cse3 (= ~ldv_mutex_port_mutex_of_lp_struct~0 1)) (.cse4 (= ~ldv_mutex_i_mutex_of_inode~0 1)) (.cse5 (= ~ldv_mutex_lock~0 1)) (.cse6 (= ~ldv_retval_0~0 0))) (or (and .cse0 .cse1 .cse2 .cse3 .cse4 .cse5 (= ~ldv_state_variable_3~0 1) .cse6) (and .cse0 .cse1 .cse2 .cse3 .cse4 .cse5 .cse6 (= ~ldv_state_variable_3~0 0)) (and .cse0 .cse1 .cse2 .cse3 .cse4 .cse5 (not (= |ULTIMATE.start_lp_init_module_#res| 0)) .cse6) (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) .cse0 .cse1 .cse2 .cse3 .cse4 .cse5 .cse6))) [2021-10-31 03:18:25,799 INFO L853 garLoopResultBuilder]: At program point L5320(lines 5310 5322) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,799 INFO L857 garLoopResultBuilder]: For program point L5056(lines 5056 5060) no Hoare annotation was computed. [2021-10-31 03:18:25,799 INFO L857 garLoopResultBuilder]: For program point L4264(lines 4264 4276) no Hoare annotation was computed. [2021-10-31 03:18:25,799 INFO L857 garLoopResultBuilder]: For program point L6115(lines 6110 6132) no Hoare annotation was computed. [2021-10-31 03:18:25,799 INFO L857 garLoopResultBuilder]: For program point L6119(lines 6110 6132) no Hoare annotation was computed. [2021-10-31 03:18:25,799 INFO L857 garLoopResultBuilder]: For program point L4270(lines 4270 4276) no Hoare annotation was computed. [2021-10-31 03:18:25,799 INFO L857 garLoopResultBuilder]: For program point L4535(lines 4535 4538) no Hoare annotation was computed. [2021-10-31 03:18:25,800 INFO L857 garLoopResultBuilder]: For program point L4535-2(lines 4521 4575) no Hoare annotation was computed. [2021-10-31 03:18:25,800 INFO L853 garLoopResultBuilder]: At program point L5328-1(lines 5323 5330) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,800 INFO L853 garLoopResultBuilder]: At program point L5328(lines 5323 5330) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,800 INFO L857 garLoopResultBuilder]: For program point L5064(line 5064) no Hoare annotation was computed. [2021-10-31 03:18:25,800 INFO L857 garLoopResultBuilder]: For program point L4008(line 4008) no Hoare annotation was computed. [2021-10-31 03:18:25,800 INFO L857 garLoopResultBuilder]: For program point L4008-2(line 4008) no Hoare annotation was computed. [2021-10-31 03:18:25,800 INFO L857 garLoopResultBuilder]: For program point L5065(lines 5065 5069) no Hoare annotation was computed. [2021-10-31 03:18:25,800 INFO L857 garLoopResultBuilder]: For program point L4008-3(line 4008) no Hoare annotation was computed. [2021-10-31 03:18:25,801 INFO L857 garLoopResultBuilder]: For program point L4008-5(line 4008) no Hoare annotation was computed. [2021-10-31 03:18:25,801 INFO L857 garLoopResultBuilder]: For program point L6123(lines 6110 6132) no Hoare annotation was computed. [2021-10-31 03:18:25,801 INFO L857 garLoopResultBuilder]: For program point L4009(lines 4009 4012) no Hoare annotation was computed. [2021-10-31 03:18:25,801 INFO L857 garLoopResultBuilder]: For program point L4009-3(lines 4009 4012) no Hoare annotation was computed. [2021-10-31 03:18:25,801 INFO L857 garLoopResultBuilder]: For program point L4009-2(lines 4009 4012) no Hoare annotation was computed. [2021-10-31 03:18:25,801 INFO L857 garLoopResultBuilder]: For program point L4009-5(lines 4009 4012) no Hoare annotation was computed. [2021-10-31 03:18:25,801 INFO L857 garLoopResultBuilder]: For program point L3745(lines 3745 3749) no Hoare annotation was computed. [2021-10-31 03:18:25,801 INFO L857 garLoopResultBuilder]: For program point L3745-2(lines 3745 3749) no Hoare annotation was computed. [2021-10-31 03:18:25,802 INFO L857 garLoopResultBuilder]: For program point L3745-4(lines 3745 3749) no Hoare annotation was computed. [2021-10-31 03:18:25,802 INFO L857 garLoopResultBuilder]: For program point L3745-6(lines 3745 3749) no Hoare annotation was computed. [2021-10-31 03:18:25,802 INFO L857 garLoopResultBuilder]: For program point L3745-8(lines 3745 3749) no Hoare annotation was computed. [2021-10-31 03:18:25,802 INFO L857 garLoopResultBuilder]: For program point L3745-10(lines 3745 3749) no Hoare annotation was computed. [2021-10-31 03:18:25,802 INFO L857 garLoopResultBuilder]: For program point L3745-12(lines 3745 3749) no Hoare annotation was computed. [2021-10-31 03:18:25,802 INFO L857 garLoopResultBuilder]: For program point L4539-1(lines 4521 4575) no Hoare annotation was computed. [2021-10-31 03:18:25,802 INFO L857 garLoopResultBuilder]: For program point L4804(lines 4804 4807) no Hoare annotation was computed. [2021-10-31 03:18:25,803 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr5ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,803 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr16ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,803 INFO L857 garLoopResultBuilder]: For program point L4541(lines 4541 4544) no Hoare annotation was computed. [2021-10-31 03:18:25,803 INFO L857 garLoopResultBuilder]: For program point L5334(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,803 INFO L857 garLoopResultBuilder]: For program point L5334-3(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,803 INFO L857 garLoopResultBuilder]: For program point L5334-4(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,803 INFO L857 garLoopResultBuilder]: For program point L5334-1(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,803 INFO L857 garLoopResultBuilder]: For program point L5334-2(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,804 INFO L857 garLoopResultBuilder]: For program point L5334-7(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,804 INFO L860 garLoopResultBuilder]: At program point L6127(lines 6108 6133) the Hoare annotation is: true [2021-10-31 03:18:25,804 INFO L857 garLoopResultBuilder]: For program point L5334-8(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,804 INFO L857 garLoopResultBuilder]: For program point L5334-5(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,804 INFO L857 garLoopResultBuilder]: For program point L5334-6(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,804 INFO L857 garLoopResultBuilder]: For program point L5334-11(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,804 INFO L857 garLoopResultBuilder]: For program point L5334-12(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,804 INFO L857 garLoopResultBuilder]: For program point L5334-9(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,805 INFO L857 garLoopResultBuilder]: For program point L5334-10(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,805 INFO L857 garLoopResultBuilder]: For program point L5334-15(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,805 INFO L857 garLoopResultBuilder]: For program point L5334-16(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,805 INFO L857 garLoopResultBuilder]: For program point L5334-13(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,805 INFO L857 garLoopResultBuilder]: For program point L5334-14(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,805 INFO L857 garLoopResultBuilder]: For program point L5334-19(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,805 INFO L857 garLoopResultBuilder]: For program point L5334-20(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,805 INFO L857 garLoopResultBuilder]: For program point L5334-17(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,805 INFO L857 garLoopResultBuilder]: For program point L5334-18(line 5334) no Hoare annotation was computed. [2021-10-31 03:18:25,806 INFO L857 garLoopResultBuilder]: For program point L5071(line 5071) no Hoare annotation was computed. [2021-10-31 03:18:25,806 INFO L857 garLoopResultBuilder]: For program point L4014(lines 4014 4017) no Hoare annotation was computed. [2021-10-31 03:18:25,806 INFO L857 garLoopResultBuilder]: For program point L4014-1(lines 4014 4017) no Hoare annotation was computed. [2021-10-31 03:18:25,806 INFO L853 garLoopResultBuilder]: At program point L3750(lines 3735 3752) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,806 INFO L853 garLoopResultBuilder]: At program point L3750-2(lines 3735 3752) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,806 INFO L853 garLoopResultBuilder]: At program point L3750-1(lines 3735 3752) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,807 INFO L853 garLoopResultBuilder]: At program point L3750-4(lines 3735 3752) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,807 INFO L853 garLoopResultBuilder]: At program point L3750-3(lines 3735 3752) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,807 INFO L853 garLoopResultBuilder]: At program point L3750-6(lines 3735 3752) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,807 INFO L853 garLoopResultBuilder]: At program point L3750-5(lines 3735 3752) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,807 INFO L857 garLoopResultBuilder]: For program point L3487-1(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,807 INFO L857 garLoopResultBuilder]: For program point L3487(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,807 INFO L857 garLoopResultBuilder]: For program point L3487-3(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,808 INFO L857 garLoopResultBuilder]: For program point L3487-2(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,808 INFO L857 garLoopResultBuilder]: For program point L3487-5(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,808 INFO L857 garLoopResultBuilder]: For program point L3487-4(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,808 INFO L857 garLoopResultBuilder]: For program point L3487-7(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,808 INFO L857 garLoopResultBuilder]: For program point L3487-6(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,808 INFO L857 garLoopResultBuilder]: For program point L3487-9(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,808 INFO L857 garLoopResultBuilder]: For program point L3487-8(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,808 INFO L857 garLoopResultBuilder]: For program point L3487-11(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,809 INFO L857 garLoopResultBuilder]: For program point L3487-10(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,809 INFO L857 garLoopResultBuilder]: For program point L3487-13(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,809 INFO L857 garLoopResultBuilder]: For program point L3487-12(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,809 INFO L857 garLoopResultBuilder]: For program point L3487-15(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,809 INFO L857 garLoopResultBuilder]: For program point L3487-14(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,809 INFO L857 garLoopResultBuilder]: For program point L3487-16(lines 3487 3489) no Hoare annotation was computed. [2021-10-31 03:18:25,809 INFO L857 garLoopResultBuilder]: For program point L3488(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,809 INFO L857 garLoopResultBuilder]: For program point L3488-2(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,809 INFO L857 garLoopResultBuilder]: For program point L3488-4(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,810 INFO L857 garLoopResultBuilder]: For program point L3488-6(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,810 INFO L857 garLoopResultBuilder]: For program point L3488-8(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,810 INFO L857 garLoopResultBuilder]: For program point L3488-10(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,810 INFO L857 garLoopResultBuilder]: For program point L4281(lines 4281 4286) no Hoare annotation was computed. [2021-10-31 03:18:25,810 INFO L857 garLoopResultBuilder]: For program point L3488-12(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,810 INFO L857 garLoopResultBuilder]: For program point L3488-14(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,810 INFO L857 garLoopResultBuilder]: For program point L3488-16(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,810 INFO L857 garLoopResultBuilder]: For program point L3488-18(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,811 INFO L857 garLoopResultBuilder]: For program point L3488-20(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,811 INFO L857 garLoopResultBuilder]: For program point L3488-22(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,811 INFO L857 garLoopResultBuilder]: For program point L3488-24(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,811 INFO L857 garLoopResultBuilder]: For program point L3488-26(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,811 INFO L857 garLoopResultBuilder]: For program point L3488-28(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,811 INFO L857 garLoopResultBuilder]: For program point L3488-30(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,811 INFO L857 garLoopResultBuilder]: For program point L3488-32(line 3488) no Hoare annotation was computed. [2021-10-31 03:18:25,811 INFO L857 garLoopResultBuilder]: For program point L4019-1(lines 4019 4023) no Hoare annotation was computed. [2021-10-31 03:18:25,812 INFO L857 garLoopResultBuilder]: For program point L4019(lines 4019 4023) no Hoare annotation was computed. [2021-10-31 03:18:25,812 INFO L853 garLoopResultBuilder]: At program point L4812(lines 4797 4819) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,812 INFO L853 garLoopResultBuilder]: At program point L6135(lines 6134 6136) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,812 INFO L857 garLoopResultBuilder]: For program point L5078(line 5078) no Hoare annotation was computed. [2021-10-31 03:18:25,812 INFO L853 garLoopResultBuilder]: At program point L4814(lines 4797 4819) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,812 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startEXIT(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,812 INFO L857 garLoopResultBuilder]: For program point L5079(lines 5079 5110) no Hoare annotation was computed. [2021-10-31 03:18:25,812 INFO L857 garLoopResultBuilder]: For program point L4288-1(lines 4288 4298) no Hoare annotation was computed. [2021-10-31 03:18:25,813 INFO L857 garLoopResultBuilder]: For program point L4288(lines 4288 4298) no Hoare annotation was computed. [2021-10-31 03:18:25,813 INFO L853 garLoopResultBuilder]: At program point L6138(lines 6137 6139) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,813 INFO L857 garLoopResultBuilder]: For program point L5081(lines 5081 5107) no Hoare annotation was computed. [2021-10-31 03:18:25,813 INFO L857 garLoopResultBuilder]: For program point L5082(line 5082) no Hoare annotation was computed. [2021-10-31 03:18:25,813 INFO L857 garLoopResultBuilder]: For program point L4290(lines 4290 4295) no Hoare annotation was computed. [2021-10-31 03:18:25,813 INFO L857 garLoopResultBuilder]: For program point L5083(lines 5083 5087) no Hoare annotation was computed. [2021-10-31 03:18:25,813 INFO L857 garLoopResultBuilder]: For program point L3498(lines 3498 3506) no Hoare annotation was computed. [2021-10-31 03:18:25,813 INFO L857 garLoopResultBuilder]: For program point L3498-2(lines 3498 3506) no Hoare annotation was computed. [2021-10-31 03:18:25,814 INFO L857 garLoopResultBuilder]: For program point L3498-1(lines 3498 3506) no Hoare annotation was computed. [2021-10-31 03:18:25,814 INFO L857 garLoopResultBuilder]: For program point L3498-3(lines 3498 3506) no Hoare annotation was computed. [2021-10-31 03:18:25,814 INFO L853 garLoopResultBuilder]: At program point L6141-2(lines 6140 6142) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,814 INFO L853 garLoopResultBuilder]: At program point L6141-3(lines 6140 6142) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,814 INFO L853 garLoopResultBuilder]: At program point L6141(lines 6140 6142) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,814 INFO L853 garLoopResultBuilder]: At program point L6141-1(lines 6140 6142) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,814 INFO L857 garLoopResultBuilder]: For program point L4027(line 4027) no Hoare annotation was computed. [2021-10-31 03:18:25,815 INFO L857 garLoopResultBuilder]: For program point L4027-3(line 4027) no Hoare annotation was computed. [2021-10-31 03:18:25,815 INFO L857 garLoopResultBuilder]: For program point L4027-2(line 4027) no Hoare annotation was computed. [2021-10-31 03:18:25,815 INFO L857 garLoopResultBuilder]: For program point L4027-5(line 4027) no Hoare annotation was computed. [2021-10-31 03:18:25,815 INFO L853 garLoopResultBuilder]: At program point L3763-1(lines 3760 3765) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,815 INFO L853 garLoopResultBuilder]: At program point L3763(lines 3760 3765) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,815 INFO L857 garLoopResultBuilder]: For program point L4557-2(lines 4550 4566) no Hoare annotation was computed. [2021-10-31 03:18:25,815 INFO L857 garLoopResultBuilder]: For program point L4557(lines 4557 4561) no Hoare annotation was computed. [2021-10-31 03:18:25,816 INFO L853 garLoopResultBuilder]: At program point L6144-1(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,816 INFO L853 garLoopResultBuilder]: At program point L6144-2(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,816 INFO L857 garLoopResultBuilder]: For program point L4030(lines 4030 4102) no Hoare annotation was computed. [2021-10-31 03:18:25,816 INFO L853 garLoopResultBuilder]: At program point L6144(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,816 INFO L857 garLoopResultBuilder]: For program point L4030-2(lines 4030 4102) no Hoare annotation was computed. [2021-10-31 03:18:25,816 INFO L853 garLoopResultBuilder]: At program point L4030-1(lines 4030 4102) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,816 INFO L853 garLoopResultBuilder]: At program point L6144-3(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,817 INFO L853 garLoopResultBuilder]: At program point L4030-3(lines 4030 4102) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,817 INFO L853 garLoopResultBuilder]: At program point L6144-4(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,817 INFO L857 garLoopResultBuilder]: For program point L5089(line 5089) no Hoare annotation was computed. [2021-10-31 03:18:25,817 INFO L853 garLoopResultBuilder]: At program point L6147(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,817 INFO L853 garLoopResultBuilder]: At program point L6147-1(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,817 INFO L857 garLoopResultBuilder]: For program point L5090(lines 5090 5095) no Hoare annotation was computed. [2021-10-31 03:18:25,817 INFO L853 garLoopResultBuilder]: At program point L6147-4(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,818 INFO L857 garLoopResultBuilder]: For program point L4033(lines 4033 4039) no Hoare annotation was computed. [2021-10-31 03:18:25,818 INFO L853 garLoopResultBuilder]: At program point L6147-5(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,818 INFO L857 garLoopResultBuilder]: For program point L4033-3(lines 4033 4039) no Hoare annotation was computed. [2021-10-31 03:18:25,818 INFO L853 garLoopResultBuilder]: At program point L6147-2(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,818 INFO L857 garLoopResultBuilder]: For program point L4033-2(lines 4033 4039) no Hoare annotation was computed. [2021-10-31 03:18:25,818 INFO L853 garLoopResultBuilder]: At program point L6147-3(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,818 INFO L857 garLoopResultBuilder]: For program point L4033-5(lines 4033 4039) no Hoare annotation was computed. [2021-10-31 03:18:25,819 INFO L853 garLoopResultBuilder]: At program point L6147-6(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,819 INFO L853 garLoopResultBuilder]: At program point L3505-1(lines 3491 3508) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,819 INFO L853 garLoopResultBuilder]: At program point L3505(lines 3491 3508) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,819 INFO L853 garLoopResultBuilder]: At program point L3505-3(lines 3491 3508) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,819 INFO L853 garLoopResultBuilder]: At program point L3505-2(lines 3491 3508) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,819 INFO L853 garLoopResultBuilder]: At program point L5355(lines 5352 5357) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,819 INFO L853 garLoopResultBuilder]: At program point L5355-1(lines 5352 5357) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,820 INFO L853 garLoopResultBuilder]: At program point L5355-4(lines 5352 5357) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,820 INFO L853 garLoopResultBuilder]: At program point L5355-2(lines 5352 5357) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,820 INFO L853 garLoopResultBuilder]: At program point L5355-3(lines 5352 5357) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,820 INFO L853 garLoopResultBuilder]: At program point L4563(lines 4550 4566) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,820 INFO L853 garLoopResultBuilder]: At program point L6150(lines 6149 6151) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,820 INFO L853 garLoopResultBuilder]: At program point L6150-1(lines 6149 6151) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,820 INFO L853 garLoopResultBuilder]: At program point L4302(lines 4232 4305) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,821 INFO L853 garLoopResultBuilder]: At program point L6153-2(lines 6152 6154) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,821 INFO L853 garLoopResultBuilder]: At program point L6153-3(lines 6152 6154) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,821 INFO L853 garLoopResultBuilder]: At program point L6153(lines 6152 6154) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,821 INFO L853 garLoopResultBuilder]: At program point L6153-1(lines 6152 6154) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,821 INFO L853 garLoopResultBuilder]: At program point L6153-6(lines 6152 6154) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,821 INFO L853 garLoopResultBuilder]: At program point L6153-7(lines 6152 6154) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,822 INFO L853 garLoopResultBuilder]: At program point L6153-4(lines 6152 6154) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,822 INFO L853 garLoopResultBuilder]: At program point L6153-5(lines 6152 6154) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,822 INFO L853 garLoopResultBuilder]: At program point L6153-10(lines 6152 6154) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,822 INFO L853 garLoopResultBuilder]: At program point L6153-11(lines 6152 6154) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,822 INFO L853 garLoopResultBuilder]: At program point L6153-8(lines 6152 6154) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,822 INFO L853 garLoopResultBuilder]: At program point L6153-9(lines 6152 6154) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,823 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,823 INFO L853 garLoopResultBuilder]: At program point L4568(lines 4521 4575) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,823 INFO L853 garLoopResultBuilder]: At program point L4304(lines 4222 4306) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,823 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr13ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,823 INFO L857 garLoopResultBuilder]: For program point L5097(line 5097) no Hoare annotation was computed. [2021-10-31 03:18:25,823 INFO L857 garLoopResultBuilder]: For program point L5098(lines 5098 5103) no Hoare annotation was computed. [2021-10-31 03:18:25,823 INFO L853 garLoopResultBuilder]: At program point L4570(lines 4521 4575) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,824 INFO L857 garLoopResultBuilder]: For program point L4042(lines 4042 4049) no Hoare annotation was computed. [2021-10-31 03:18:25,824 INFO L853 garLoopResultBuilder]: At program point L6156(lines 6155 6157) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,824 INFO L857 garLoopResultBuilder]: For program point L4042-1(lines 4042 4049) no Hoare annotation was computed. [2021-10-31 03:18:25,824 INFO L857 garLoopResultBuilder]: For program point L4043(lines 4043 4046) no Hoare annotation was computed. [2021-10-31 03:18:25,824 INFO L857 garLoopResultBuilder]: For program point L4043-3(lines 4043 4046) no Hoare annotation was computed. [2021-10-31 03:18:25,824 INFO L853 garLoopResultBuilder]: At program point L5367(lines 5364 5369) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,824 INFO L853 garLoopResultBuilder]: At program point L6160(lines 6159 6161) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,824 INFO L857 garLoopResultBuilder]: For program point L3782(line 3782) no Hoare annotation was computed. [2021-10-31 03:18:25,825 INFO L857 garLoopResultBuilder]: For program point L3782-2(lines 3782 3785) no Hoare annotation was computed. [2021-10-31 03:18:25,825 INFO L857 garLoopResultBuilder]: For program point L3782-3(line 3782) no Hoare annotation was computed. [2021-10-31 03:18:25,825 INFO L857 garLoopResultBuilder]: For program point L3782-6(line 3782) no Hoare annotation was computed. [2021-10-31 03:18:25,825 INFO L857 garLoopResultBuilder]: For program point L3782-5(lines 3782 3785) no Hoare annotation was computed. [2021-10-31 03:18:25,825 INFO L857 garLoopResultBuilder]: For program point L3782-8(lines 3782 3785) no Hoare annotation was computed. [2021-10-31 03:18:25,825 INFO L857 garLoopResultBuilder]: For program point L3782-9(line 3782) no Hoare annotation was computed. [2021-10-31 03:18:25,825 INFO L857 garLoopResultBuilder]: For program point L3782-12(line 3782) no Hoare annotation was computed. [2021-10-31 03:18:25,825 INFO L857 garLoopResultBuilder]: For program point L3782-11(lines 3782 3785) no Hoare annotation was computed. [2021-10-31 03:18:25,826 INFO L857 garLoopResultBuilder]: For program point L3782-14(lines 3782 3785) no Hoare annotation was computed. [2021-10-31 03:18:25,826 INFO L857 garLoopResultBuilder]: For program point L3782-15(line 3782) no Hoare annotation was computed. [2021-10-31 03:18:25,826 INFO L857 garLoopResultBuilder]: For program point L3782-18(line 3782) no Hoare annotation was computed. [2021-10-31 03:18:25,826 INFO L857 garLoopResultBuilder]: For program point L3782-17(lines 3782 3785) no Hoare annotation was computed. [2021-10-31 03:18:25,826 INFO L857 garLoopResultBuilder]: For program point L3782-20(lines 3782 3785) no Hoare annotation was computed. [2021-10-31 03:18:25,826 INFO L853 garLoopResultBuilder]: At program point L4840(lines 4831 4842) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,826 INFO L857 garLoopResultBuilder]: For program point L5105(line 5105) no Hoare annotation was computed. [2021-10-31 03:18:25,826 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startENTRY(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,827 INFO L857 garLoopResultBuilder]: For program point L4050(lines 4050 4078) no Hoare annotation was computed. [2021-10-31 03:18:25,827 INFO L853 garLoopResultBuilder]: At program point L6164(lines 6163 6165) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,827 INFO L857 garLoopResultBuilder]: For program point L4050-2(lines 4050 4078) no Hoare annotation was computed. [2021-10-31 03:18:25,827 INFO L853 garLoopResultBuilder]: At program point L3788(lines 3776 3790) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,827 INFO L853 garLoopResultBuilder]: At program point L3788-2(lines 3776 3790) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,827 INFO L853 garLoopResultBuilder]: At program point L3788-1(lines 3776 3790) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,827 INFO L853 garLoopResultBuilder]: At program point L3788-4(lines 3776 3790) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,828 INFO L853 garLoopResultBuilder]: At program point L3788-3(lines 3776 3790) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,828 INFO L853 garLoopResultBuilder]: At program point L3788-6(lines 3776 3790) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,828 INFO L853 garLoopResultBuilder]: At program point L3788-5(lines 3776 3790) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,828 INFO L853 garLoopResultBuilder]: At program point L6167(lines 1 6310) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,828 INFO L853 garLoopResultBuilder]: At program point L6167-1(lines 1 6310) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,828 INFO L857 garLoopResultBuilder]: For program point L4054(lines 4054 4068) no Hoare annotation was computed. [2021-10-31 03:18:25,829 INFO L857 garLoopResultBuilder]: For program point L4054-1(lines 4054 4068) no Hoare annotation was computed. [2021-10-31 03:18:25,829 INFO L857 garLoopResultBuilder]: For program point L4055(lines 4055 4058) no Hoare annotation was computed. [2021-10-31 03:18:25,829 INFO L857 garLoopResultBuilder]: For program point L5112(line 5112) no Hoare annotation was computed. [2021-10-31 03:18:25,829 INFO L857 garLoopResultBuilder]: For program point L4055-3(lines 4055 4058) no Hoare annotation was computed. [2021-10-31 03:18:25,829 INFO L853 garLoopResultBuilder]: At program point L4321(lines 4307 4323) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,829 INFO L853 garLoopResultBuilder]: At program point L6171(lines 6170 6172) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,829 INFO L853 garLoopResultBuilder]: At program point L5115(lines 4880 5120) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,829 INFO L857 garLoopResultBuilder]: For program point L4589(lines 4589 4592) no Hoare annotation was computed. [2021-10-31 03:18:25,830 INFO L857 garLoopResultBuilder]: For program point L4589-1(lines 4589 4592) no Hoare annotation was computed. [2021-10-31 03:18:25,830 INFO L853 garLoopResultBuilder]: At program point L6175(lines 6174 6176) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,830 INFO L853 garLoopResultBuilder]: At program point L6175-1(lines 6174 6176) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,830 INFO L857 garLoopResultBuilder]: For program point L4061-1(lines 4061 4068) no Hoare annotation was computed. [2021-10-31 03:18:25,830 INFO L853 garLoopResultBuilder]: At program point L6175-4(lines 6174 6176) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,830 INFO L857 garLoopResultBuilder]: For program point L4061(lines 4061 4068) no Hoare annotation was computed. [2021-10-31 03:18:25,830 INFO L853 garLoopResultBuilder]: At program point L6175-2(lines 6174 6176) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,831 INFO L853 garLoopResultBuilder]: At program point L6175-3(lines 6174 6176) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,831 INFO L860 garLoopResultBuilder]: At program point L5119(lines 4852 5121) the Hoare annotation is: true [2021-10-31 03:18:25,831 INFO L857 garLoopResultBuilder]: For program point L4062(lines 4062 4065) no Hoare annotation was computed. [2021-10-31 03:18:25,831 INFO L857 garLoopResultBuilder]: For program point L4062-3(lines 4062 4065) no Hoare annotation was computed. [2021-10-31 03:18:25,831 INFO L853 garLoopResultBuilder]: At program point L3535-1(lines 3527 3537) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,831 INFO L853 garLoopResultBuilder]: At program point L3535(lines 3527 3537) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,831 INFO L853 garLoopResultBuilder]: At program point L3535-3(lines 3527 3537) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,832 INFO L853 garLoopResultBuilder]: At program point L3535-2(lines 3527 3537) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,832 INFO L853 garLoopResultBuilder]: At program point L3535-5(lines 3527 3537) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,832 INFO L853 garLoopResultBuilder]: At program point L3535-4(lines 3527 3537) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,832 INFO L853 garLoopResultBuilder]: At program point L3535-7(lines 3527 3537) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,832 INFO L853 garLoopResultBuilder]: At program point L3535-6(lines 3527 3537) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,832 INFO L853 garLoopResultBuilder]: At program point L3535-8(lines 3527 3537) the Hoare annotation is: (let ((.cse0 (= ~ldv_mutex_lp_mutex~0 1)) (.cse1 (= 1 ~ldv_mutex_mutex_of_device~0)) (.cse2 (= ~ldv_mutex_port_mutex_of_lp_struct~0 1)) (.cse3 (= ~ldv_mutex_i_mutex_of_inode~0 1)) (.cse4 (= ~ldv_mutex_lock~0 1)) (.cse5 (= ~ldv_retval_0~0 0))) (or (and .cse0 .cse1 .cse2 .cse3 .cse4 .cse5 (= ~ldv_state_variable_3~0 0)) (and .cse0 .cse1 .cse2 .cse3 .cse4 (= ~ldv_state_variable_3~0 1) .cse5) (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) .cse0 .cse1 .cse2 .cse3 .cse4 .cse5))) [2021-10-31 03:18:25,833 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr10ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,833 INFO L853 garLoopResultBuilder]: At program point L6179(lines 6178 6180) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,833 INFO L853 garLoopResultBuilder]: At program point L6179-1(lines 6178 6180) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,833 INFO L853 garLoopResultBuilder]: At program point L6179-4(lines 6178 6180) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,833 INFO L853 garLoopResultBuilder]: At program point L6179-5(lines 6178 6180) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,833 INFO L853 garLoopResultBuilder]: At program point L6179-2(lines 6178 6180) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,834 INFO L853 garLoopResultBuilder]: At program point L6179-3(lines 6178 6180) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,834 INFO L853 garLoopResultBuilder]: At program point L6179-6(lines 6178 6180) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,834 INFO L857 garLoopResultBuilder]: For program point L4594(lines 4594 4597) no Hoare annotation was computed. [2021-10-31 03:18:25,834 INFO L857 garLoopResultBuilder]: For program point L4594-3(lines 4594 4597) no Hoare annotation was computed. [2021-10-31 03:18:25,834 INFO L857 garLoopResultBuilder]: For program point L4594-2(lines 4594 4597) no Hoare annotation was computed. [2021-10-31 03:18:25,834 INFO L857 garLoopResultBuilder]: For program point L4594-5(lines 4594 4597) no Hoare annotation was computed. [2021-10-31 03:18:25,834 INFO L853 garLoopResultBuilder]: At program point L6182(lines 1 6310) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,834 INFO L853 garLoopResultBuilder]: At program point L6182-1(lines 1 6310) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,835 INFO L853 garLoopResultBuilder]: At program point L5127(lines 5122 5129) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,835 INFO L857 garLoopResultBuilder]: For program point L4599(line 4599) no Hoare annotation was computed. [2021-10-31 03:18:25,835 INFO L857 garLoopResultBuilder]: For program point L4599-5(line 4599) no Hoare annotation was computed. [2021-10-31 03:18:25,835 INFO L857 garLoopResultBuilder]: For program point L4599-2(line 4599) no Hoare annotation was computed. [2021-10-31 03:18:25,835 INFO L857 garLoopResultBuilder]: For program point L4599-3(line 4599) no Hoare annotation was computed. [2021-10-31 03:18:25,835 INFO L857 garLoopResultBuilder]: For program point L4600-1(lines 4600 4609) no Hoare annotation was computed. [2021-10-31 03:18:25,835 INFO L857 garLoopResultBuilder]: For program point L4600-2(lines 4600 4609) no Hoare annotation was computed. [2021-10-31 03:18:25,836 INFO L853 garLoopResultBuilder]: At program point L3543-1(lines 3538 3545) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,836 INFO L853 garLoopResultBuilder]: At program point L3543(lines 3538 3545) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,836 INFO L857 garLoopResultBuilder]: For program point L4600(lines 4600 4609) no Hoare annotation was computed. [2021-10-31 03:18:25,836 INFO L853 garLoopResultBuilder]: At program point L3543-3(lines 3538 3545) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,836 INFO L853 garLoopResultBuilder]: At program point L3543-2(lines 3538 3545) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,836 INFO L853 garLoopResultBuilder]: At program point L3543-5(lines 3538 3545) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,836 INFO L857 garLoopResultBuilder]: For program point L4600-3(lines 4600 4609) no Hoare annotation was computed. [2021-10-31 03:18:25,837 INFO L853 garLoopResultBuilder]: At program point L3543-4(lines 3538 3545) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,837 INFO L853 garLoopResultBuilder]: At program point L3543-7(lines 3538 3545) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,837 INFO L857 garLoopResultBuilder]: For program point L4336-1(lines 4336 4339) no Hoare annotation was computed. [2021-10-31 03:18:25,837 INFO L853 garLoopResultBuilder]: At program point L3543-6(lines 3538 3545) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,837 INFO L853 garLoopResultBuilder]: At program point L3543-8(lines 3538 3545) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,837 INFO L857 garLoopResultBuilder]: For program point L4336(lines 4336 4339) no Hoare annotation was computed. [2021-10-31 03:18:25,837 INFO L853 garLoopResultBuilder]: At program point L6186(lines 6185 6187) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,837 INFO L857 garLoopResultBuilder]: For program point L3808(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,838 INFO L853 garLoopResultBuilder]: At program point L3808-2(lines 3803 3814) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,838 INFO L857 garLoopResultBuilder]: For program point L3808-3(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,838 INFO L857 garLoopResultBuilder]: For program point L3808-6(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,838 INFO L853 garLoopResultBuilder]: At program point L3808-5(lines 3803 3814) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,838 INFO L853 garLoopResultBuilder]: At program point L3808-8(lines 3803 3814) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,838 INFO L857 garLoopResultBuilder]: For program point L4601-3(lines 4601 4607) no Hoare annotation was computed. [2021-10-31 03:18:25,838 INFO L857 garLoopResultBuilder]: For program point L4601(lines 4601 4607) no Hoare annotation was computed. [2021-10-31 03:18:25,839 INFO L857 garLoopResultBuilder]: For program point L3808-9(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,839 INFO L857 garLoopResultBuilder]: For program point L3808-12(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,839 INFO L857 garLoopResultBuilder]: For program point L3808-15(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,839 INFO L857 garLoopResultBuilder]: For program point L3808-18(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,839 INFO L853 garLoopResultBuilder]: At program point L3808-17(lines 3803 3814) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,839 INFO L857 garLoopResultBuilder]: For program point L3808-21(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,839 INFO L857 garLoopResultBuilder]: For program point L3808-24(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,839 INFO L853 garLoopResultBuilder]: At program point L3808-26(lines 3803 3814) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,840 INFO L857 garLoopResultBuilder]: For program point L3808-27(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,840 INFO L857 garLoopResultBuilder]: For program point L3808-30(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,840 INFO L853 garLoopResultBuilder]: At program point L3808-29(lines 3803 3814) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,840 INFO L857 garLoopResultBuilder]: For program point L3808-33(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,840 INFO L857 garLoopResultBuilder]: For program point L3808-36(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,840 INFO L853 garLoopResultBuilder]: At program point L3808-35(lines 3803 3814) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,840 INFO L853 garLoopResultBuilder]: At program point L3808-38(lines 3803 3814) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,841 INFO L857 garLoopResultBuilder]: For program point L3808-39(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,841 INFO L857 garLoopResultBuilder]: For program point L3808-42(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,841 INFO L853 garLoopResultBuilder]: At program point L3808-41(lines 3803 3814) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,841 INFO L853 garLoopResultBuilder]: At program point L3808-44(lines 3803 3814) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,841 INFO L857 garLoopResultBuilder]: For program point L3808-45(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,841 INFO L857 garLoopResultBuilder]: For program point L3808-48(lines 3808 3811) no Hoare annotation was computed. [2021-10-31 03:18:25,841 INFO L853 garLoopResultBuilder]: At program point L3808-47(lines 3803 3814) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,842 INFO L853 garLoopResultBuilder]: At program point L3808-50(lines 3803 3814) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,842 INFO L857 garLoopResultBuilder]: For program point L4074(lines 4074 4077) no Hoare annotation was computed. [2021-10-31 03:18:25,842 INFO L857 garLoopResultBuilder]: For program point L4074-2(lines 4074 4077) no Hoare annotation was computed. [2021-10-31 03:18:25,842 INFO L853 garLoopResultBuilder]: At program point L4074-1(lines 4030 4101) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,842 INFO L853 garLoopResultBuilder]: At program point L4074-3(lines 4030 4101) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,842 INFO L857 garLoopResultBuilder]: For program point L4340-1(lines 4340 4343) no Hoare annotation was computed. [2021-10-31 03:18:25,842 INFO L857 garLoopResultBuilder]: For program point L4340(lines 4340 4343) no Hoare annotation was computed. [2021-10-31 03:18:25,843 INFO L853 garLoopResultBuilder]: At program point L5135(lines 5130 5137) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,843 INFO L853 garLoopResultBuilder]: At program point L5135-1(lines 5130 5137) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,843 INFO L853 garLoopResultBuilder]: At program point L6192(lines 1 6310) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,843 INFO L853 garLoopResultBuilder]: At program point L5135-4(lines 5130 5137) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,843 INFO L853 garLoopResultBuilder]: At program point L5135-2(lines 5130 5137) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,843 INFO L853 garLoopResultBuilder]: At program point L5135-3(lines 5130 5137) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,843 INFO L857 garLoopResultBuilder]: For program point L4079-1(lines 4030 4101) no Hoare annotation was computed. [2021-10-31 03:18:25,844 INFO L857 garLoopResultBuilder]: For program point L4079-3(lines 4030 4101) no Hoare annotation was computed. [2021-10-31 03:18:25,844 INFO L853 garLoopResultBuilder]: At program point L3551-1(lines 3546 3553) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,844 INFO L853 garLoopResultBuilder]: At program point L3551(lines 3546 3553) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,844 INFO L853 garLoopResultBuilder]: At program point L3551-3(lines 3546 3553) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,844 INFO L853 garLoopResultBuilder]: At program point L3551-2(lines 3546 3553) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,844 INFO L853 garLoopResultBuilder]: At program point L3551-4(lines 3546 3553) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,844 INFO L857 garLoopResultBuilder]: For program point L4344-1(lines 4344 4419) no Hoare annotation was computed. [2021-10-31 03:18:25,845 INFO L857 garLoopResultBuilder]: For program point L4344(lines 4344 4419) no Hoare annotation was computed. [2021-10-31 03:18:25,845 INFO L857 garLoopResultBuilder]: For program point L4345(line 4345) no Hoare annotation was computed. [2021-10-31 03:18:25,845 INFO L857 garLoopResultBuilder]: For program point L4345-1(line 4345) no Hoare annotation was computed. [2021-10-31 03:18:25,845 INFO L853 garLoopResultBuilder]: At program point L6195(lines 3890 3894) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,845 INFO L853 garLoopResultBuilder]: At program point L6195-1(lines 3890 3894) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,845 INFO L853 garLoopResultBuilder]: At program point L6195-4(lines 3890 3894) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,845 INFO L857 garLoopResultBuilder]: For program point L4081(lines 4081 4084) no Hoare annotation was computed. [2021-10-31 03:18:25,846 INFO L853 garLoopResultBuilder]: At program point L6195-5(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,846 INFO L853 garLoopResultBuilder]: At program point L6195-2(lines 3890 3894) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,846 INFO L857 garLoopResultBuilder]: For program point L4081-3(lines 4081 4084) no Hoare annotation was computed. [2021-10-31 03:18:25,846 INFO L857 garLoopResultBuilder]: For program point L4081-2(lines 4081 4084) no Hoare annotation was computed. [2021-10-31 03:18:25,846 INFO L853 garLoopResultBuilder]: At program point L6195-3(lines 3890 3894) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,846 INFO L857 garLoopResultBuilder]: For program point L4081-5(lines 4081 4084) no Hoare annotation was computed. [2021-10-31 03:18:25,846 INFO L853 garLoopResultBuilder]: At program point L4610(lines 4584 4612) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,846 INFO L853 garLoopResultBuilder]: At program point L4610-1(lines 4584 4612) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,847 INFO L857 garLoopResultBuilder]: For program point L4346(lines 4346 4349) no Hoare annotation was computed. [2021-10-31 03:18:25,847 INFO L857 garLoopResultBuilder]: For program point L4346-1(lines 4346 4349) no Hoare annotation was computed. [2021-10-31 03:18:25,847 INFO L857 garLoopResultBuilder]: For program point L3820(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,847 INFO L853 garLoopResultBuilder]: At program point L3820-2(lines 3815 3826) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,847 INFO L857 garLoopResultBuilder]: For program point L3820-3(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,847 INFO L857 garLoopResultBuilder]: For program point L3820-6(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,847 INFO L853 garLoopResultBuilder]: At program point L3820-5(lines 3815 3826) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,848 INFO L857 garLoopResultBuilder]: For program point L3820-9(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,848 INFO L857 garLoopResultBuilder]: For program point L3820-12(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,848 INFO L857 garLoopResultBuilder]: For program point L3820-15(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,848 INFO L857 garLoopResultBuilder]: For program point L3820-18(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,848 INFO L853 garLoopResultBuilder]: At program point L6199(lines 6198 6200) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,848 INFO L857 garLoopResultBuilder]: For program point L3820-21(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,848 INFO L857 garLoopResultBuilder]: For program point L3820-24(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,848 INFO L853 garLoopResultBuilder]: At program point L3820-26(lines 3815 3826) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,849 INFO L857 garLoopResultBuilder]: For program point L3820-27(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,849 INFO L857 garLoopResultBuilder]: For program point L3820-30(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,849 INFO L853 garLoopResultBuilder]: At program point L3820-32(lines 4210 4217) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,849 INFO L857 garLoopResultBuilder]: For program point L3820-33(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,849 INFO L857 garLoopResultBuilder]: For program point L3820-36(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,849 INFO L853 garLoopResultBuilder]: At program point L3820-35(lines 3815 3826) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,849 INFO L853 garLoopResultBuilder]: At program point L3820-38(lines 3815 3826) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,850 INFO L857 garLoopResultBuilder]: For program point L3820-39(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,850 INFO L857 garLoopResultBuilder]: For program point L3820-42(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,850 INFO L853 garLoopResultBuilder]: At program point L3820-41(lines 4258 4276) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,850 INFO L853 garLoopResultBuilder]: At program point L3820-44(lines 3815 3826) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,850 INFO L857 garLoopResultBuilder]: For program point L3820-45(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,850 INFO L857 garLoopResultBuilder]: For program point L3820-48(lines 3820 3823) no Hoare annotation was computed. [2021-10-31 03:18:25,850 INFO L853 garLoopResultBuilder]: At program point L3820-47(lines 3815 3826) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,851 INFO L853 garLoopResultBuilder]: At program point L3820-50(lines 3815 3826) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,851 INFO L857 garLoopResultBuilder]: For program point L4086(lines 4086 4093) no Hoare annotation was computed. [2021-10-31 03:18:25,851 INFO L857 garLoopResultBuilder]: For program point L4086-1(lines 4086 4093) no Hoare annotation was computed. [2021-10-31 03:18:25,851 INFO L857 garLoopResultBuilder]: For program point L4087(lines 4087 4090) no Hoare annotation was computed. [2021-10-31 03:18:25,851 INFO L857 garLoopResultBuilder]: For program point L4087-3(lines 4087 4090) no Hoare annotation was computed. [2021-10-31 03:18:25,851 INFO L857 garLoopResultBuilder]: For program point L4352-1(line 4352) no Hoare annotation was computed. [2021-10-31 03:18:25,851 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr7ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,852 INFO L857 garLoopResultBuilder]: For program point L4352(line 4352) no Hoare annotation was computed. [2021-10-31 03:18:25,852 INFO L853 garLoopResultBuilder]: At program point L6202(lines 6201 6203) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,852 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr18ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,852 INFO L857 garLoopResultBuilder]: For program point L4619(lines 4619 4658) no Hoare annotation was computed. [2021-10-31 03:18:25,852 INFO L857 garLoopResultBuilder]: For program point L4355(line 4355) no Hoare annotation was computed. [2021-10-31 03:18:25,852 INFO L857 garLoopResultBuilder]: For program point L4355-1(line 4355) no Hoare annotation was computed. [2021-10-31 03:18:25,852 INFO L857 garLoopResultBuilder]: For program point L4620-2(line 4620) no Hoare annotation was computed. [2021-10-31 03:18:25,853 INFO L857 garLoopResultBuilder]: For program point L4620(line 4620) no Hoare annotation was computed. [2021-10-31 03:18:25,853 INFO L857 garLoopResultBuilder]: For program point L4356(lines 4356 4360) no Hoare annotation was computed. [2021-10-31 03:18:25,853 INFO L853 garLoopResultBuilder]: At program point L6206(lines 6205 6207) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,853 INFO L857 garLoopResultBuilder]: For program point L4356-3(lines 4356 4360) no Hoare annotation was computed. [2021-10-31 03:18:25,853 INFO L857 garLoopResultBuilder]: For program point L4621(line 4621) no Hoare annotation was computed. [2021-10-31 03:18:25,853 INFO L857 garLoopResultBuilder]: For program point L4622(line 4622) no Hoare annotation was computed. [2021-10-31 03:18:25,853 INFO L860 garLoopResultBuilder]: At program point L3565-1(lines 3564 3567) the Hoare annotation is: true [2021-10-31 03:18:25,853 INFO L860 garLoopResultBuilder]: At program point L3565(lines 3564 3567) the Hoare annotation is: true [2021-10-31 03:18:25,854 INFO L860 garLoopResultBuilder]: At program point L3565-3(lines 3564 3567) the Hoare annotation is: true [2021-10-31 03:18:25,854 INFO L857 garLoopResultBuilder]: For program point L4622-2(lines 4622 4625) no Hoare annotation was computed. [2021-10-31 03:18:25,854 INFO L860 garLoopResultBuilder]: At program point L3565-2(lines 3564 3567) the Hoare annotation is: true [2021-10-31 03:18:25,854 INFO L860 garLoopResultBuilder]: At program point L3565-4(lines 3564 3567) the Hoare annotation is: true [2021-10-31 03:18:25,854 INFO L853 garLoopResultBuilder]: At program point L6210(lines 6209 6211) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,854 INFO L853 garLoopResultBuilder]: At program point L4097-1(lines 4030 4101) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,854 INFO L853 garLoopResultBuilder]: At program point L4097(lines 4030 4101) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,855 INFO L853 garLoopResultBuilder]: At program point L3833-1(lines 3827 3835) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,855 INFO L853 garLoopResultBuilder]: At program point L3833(lines 3827 3835) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,855 INFO L853 garLoopResultBuilder]: At program point L3833-3(lines 3827 3835) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,855 INFO L853 garLoopResultBuilder]: At program point L3833-2(lines 3827 3835) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,855 INFO L853 garLoopResultBuilder]: At program point L3833-5(lines 3827 3835) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,855 INFO L857 garLoopResultBuilder]: For program point L4626(lines 4626 4630) no Hoare annotation was computed. [2021-10-31 03:18:25,855 INFO L853 garLoopResultBuilder]: At program point L3833-4(lines 3827 3835) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,856 INFO L853 garLoopResultBuilder]: At program point L3833-7(lines 3827 3835) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,856 INFO L853 garLoopResultBuilder]: At program point L3833-6(lines 3827 3835) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,856 INFO L853 garLoopResultBuilder]: At program point L3833-9(lines 3827 3835) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,856 INFO L853 garLoopResultBuilder]: At program point L3833-8(lines 3827 3835) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,856 INFO L853 garLoopResultBuilder]: At program point L3833-10(lines 3827 3835) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,856 INFO L857 garLoopResultBuilder]: For program point L4362(line 4362) no Hoare annotation was computed. [2021-10-31 03:18:25,857 INFO L857 garLoopResultBuilder]: For program point L4362-1(line 4362) no Hoare annotation was computed. [2021-10-31 03:18:25,857 INFO L857 garLoopResultBuilder]: For program point L4363(lines 4363 4367) no Hoare annotation was computed. [2021-10-31 03:18:25,857 INFO L857 garLoopResultBuilder]: For program point L4363-3(lines 4363 4367) no Hoare annotation was computed. [2021-10-31 03:18:25,857 INFO L853 garLoopResultBuilder]: At program point L6214(lines 6213 6215) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,857 INFO L853 garLoopResultBuilder]: At program point L3572(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,857 INFO L853 garLoopResultBuilder]: At program point L3572-2(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,857 INFO L853 garLoopResultBuilder]: At program point L3572-1(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,858 INFO L853 garLoopResultBuilder]: At program point L3572-4(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,858 INFO L853 garLoopResultBuilder]: At program point L3572-3(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,858 INFO L853 garLoopResultBuilder]: At program point L3572-6(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,858 INFO L853 garLoopResultBuilder]: At program point L3572-5(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,858 INFO L853 garLoopResultBuilder]: At program point L3572-8(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,858 INFO L853 garLoopResultBuilder]: At program point L3572-7(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,859 INFO L853 garLoopResultBuilder]: At program point L3572-10(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,859 INFO L853 garLoopResultBuilder]: At program point L3572-9(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,859 INFO L853 garLoopResultBuilder]: At program point L3572-12(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,859 INFO L853 garLoopResultBuilder]: At program point L3572-11(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,859 INFO L853 garLoopResultBuilder]: At program point L3572-14(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,859 INFO L853 garLoopResultBuilder]: At program point L3572-13(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,859 INFO L853 garLoopResultBuilder]: At program point L3572-16(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,860 INFO L853 garLoopResultBuilder]: At program point L3572-15(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,860 INFO L853 garLoopResultBuilder]: At program point L3572-18(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,860 INFO L853 garLoopResultBuilder]: At program point L3572-17(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,860 INFO L853 garLoopResultBuilder]: At program point L3572-20(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,860 INFO L853 garLoopResultBuilder]: At program point L3572-19(lines 3569 3574) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,860 INFO L857 garLoopResultBuilder]: For program point L4632(lines 4632 4635) no Hoare annotation was computed. [2021-10-31 03:18:25,861 INFO L853 garLoopResultBuilder]: At program point L6218(lines 6217 6219) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,861 INFO L857 garLoopResultBuilder]: For program point L4104(lines 4104 4110) no Hoare annotation was computed. [2021-10-31 03:18:25,861 INFO L857 garLoopResultBuilder]: For program point L4104-1(lines 4104 4110) no Hoare annotation was computed. [2021-10-31 03:18:25,861 INFO L857 garLoopResultBuilder]: For program point L4369(line 4369) no Hoare annotation was computed. [2021-10-31 03:18:25,861 INFO L857 garLoopResultBuilder]: For program point L4369-1(line 4369) no Hoare annotation was computed. [2021-10-31 03:18:25,861 INFO L857 garLoopResultBuilder]: For program point L3841(lines 3841 3845) no Hoare annotation was computed. [2021-10-31 03:18:25,861 INFO L857 garLoopResultBuilder]: For program point L3841-3(lines 3841 3845) no Hoare annotation was computed. [2021-10-31 03:18:25,861 INFO L857 garLoopResultBuilder]: For program point L3841-2(lines 3841 3845) no Hoare annotation was computed. [2021-10-31 03:18:25,861 INFO L857 garLoopResultBuilder]: For program point L3841-5(lines 3841 3845) no Hoare annotation was computed. [2021-10-31 03:18:25,862 INFO L857 garLoopResultBuilder]: For program point L3841-6(lines 3841 3845) no Hoare annotation was computed. [2021-10-31 03:18:25,862 INFO L857 garLoopResultBuilder]: For program point L3841-9(lines 3841 3845) no Hoare annotation was computed. [2021-10-31 03:18:25,862 INFO L857 garLoopResultBuilder]: For program point L3841-8(lines 3841 3845) no Hoare annotation was computed. [2021-10-31 03:18:25,862 INFO L857 garLoopResultBuilder]: For program point L3841-11(lines 3841 3845) no Hoare annotation was computed. [2021-10-31 03:18:25,862 INFO L857 garLoopResultBuilder]: For program point L4370(lines 4370 4374) no Hoare annotation was computed. [2021-10-31 03:18:25,862 INFO L857 garLoopResultBuilder]: For program point L4370-3(lines 4370 4374) no Hoare annotation was computed. [2021-10-31 03:18:25,862 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr4ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,863 INFO L853 garLoopResultBuilder]: At program point L6222(lines 6221 6223) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,863 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr15ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,863 INFO L857 garLoopResultBuilder]: For program point L4637(line 4637) no Hoare annotation was computed. [2021-10-31 03:18:25,863 INFO L853 garLoopResultBuilder]: At program point L3846(lines 3836 3848) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,863 INFO L853 garLoopResultBuilder]: At program point L3846-2(lines 3836 3848) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,863 INFO L853 garLoopResultBuilder]: At program point L3846-1(lines 3836 3848) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,863 INFO L853 garLoopResultBuilder]: At program point L3846-3(lines 3836 3848) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,864 INFO L853 garLoopResultBuilder]: At program point L6225-2(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,864 INFO L853 garLoopResultBuilder]: At program point L4111-1(lines 4111 4112) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,864 INFO L853 garLoopResultBuilder]: At program point L6225(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,864 INFO L853 garLoopResultBuilder]: At program point L4111(lines 4111 4112) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,864 INFO L853 garLoopResultBuilder]: At program point L6225-1(lines 4237 4241) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,864 INFO L857 garLoopResultBuilder]: For program point L4376-1(line 4376) no Hoare annotation was computed. [2021-10-31 03:18:25,865 INFO L857 garLoopResultBuilder]: For program point L4376(line 4376) no Hoare annotation was computed. [2021-10-31 03:18:25,865 INFO L857 garLoopResultBuilder]: For program point L4641(lines 4641 4649) no Hoare annotation was computed. [2021-10-31 03:18:25,865 INFO L853 garLoopResultBuilder]: At program point L4113-1(lines 3978 4115) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,865 INFO L853 garLoopResultBuilder]: At program point L4113(lines 3978 4115) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,865 INFO L857 garLoopResultBuilder]: For program point L4643(lines 4643 4646) no Hoare annotation was computed. [2021-10-31 03:18:25,865 INFO L857 garLoopResultBuilder]: For program point L4379(line 4379) no Hoare annotation was computed. [2021-10-31 03:18:25,865 INFO L857 garLoopResultBuilder]: For program point L4379-1(line 4379) no Hoare annotation was computed. [2021-10-31 03:18:25,865 INFO L853 garLoopResultBuilder]: At program point L6229-2(lines 6228 6230) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,866 INFO L853 garLoopResultBuilder]: At program point L6229-3(lines 6228 6230) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,866 INFO L853 garLoopResultBuilder]: At program point L6229(lines 6228 6230) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,866 INFO L853 garLoopResultBuilder]: At program point L6229-1(lines 6228 6230) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,866 INFO L853 garLoopResultBuilder]: At program point L6229-4(lines 6228 6230) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,866 INFO L857 garLoopResultBuilder]: For program point L4381(line 4381) no Hoare annotation was computed. [2021-10-31 03:18:25,866 INFO L857 garLoopResultBuilder]: For program point L4381-1(line 4381) no Hoare annotation was computed. [2021-10-31 03:18:25,866 INFO L857 garLoopResultBuilder]: For program point L4910(lines 4910 5114) no Hoare annotation was computed. [2021-10-31 03:18:25,867 INFO L857 garLoopResultBuilder]: For program point L4911(line 4911) no Hoare annotation was computed. [2021-10-31 03:18:25,867 INFO L857 garLoopResultBuilder]: For program point L5969-2(lines 5969 5972) no Hoare annotation was computed. [2021-10-31 03:18:25,867 INFO L857 garLoopResultBuilder]: For program point L5969-3(lines 5969 5972) no Hoare annotation was computed. [2021-10-31 03:18:25,867 INFO L857 garLoopResultBuilder]: For program point L5969(lines 5969 5972) no Hoare annotation was computed. [2021-10-31 03:18:25,867 INFO L857 garLoopResultBuilder]: For program point L4912(lines 4912 4969) no Hoare annotation was computed. [2021-10-31 03:18:25,867 INFO L857 garLoopResultBuilder]: For program point L5969-1(lines 5969 5972) no Hoare annotation was computed. [2021-10-31 03:18:25,867 INFO L857 garLoopResultBuilder]: For program point L5969-6(lines 5969 5972) no Hoare annotation was computed. [2021-10-31 03:18:25,867 INFO L857 garLoopResultBuilder]: For program point L5969-7(lines 5969 5972) no Hoare annotation was computed. [2021-10-31 03:18:25,868 INFO L857 garLoopResultBuilder]: For program point L5969-4(lines 5969 5972) no Hoare annotation was computed. [2021-10-31 03:18:25,868 INFO L857 garLoopResultBuilder]: For program point L5969-5(lines 5969 5972) no Hoare annotation was computed. [2021-10-31 03:18:25,868 INFO L857 garLoopResultBuilder]: For program point L5969-8(lines 5969 5972) no Hoare annotation was computed. [2021-10-31 03:18:25,868 INFO L857 garLoopResultBuilder]: For program point L5969-9(lines 5969 5972) no Hoare annotation was computed. [2021-10-31 03:18:25,868 INFO L857 garLoopResultBuilder]: For program point L4384-1(lines 4384 4387) no Hoare annotation was computed. [2021-10-31 03:18:25,868 INFO L857 garLoopResultBuilder]: For program point L4384(lines 4384 4387) no Hoare annotation was computed. [2021-10-31 03:18:25,868 INFO L857 garLoopResultBuilder]: For program point L4914(lines 4914 4966) no Hoare annotation was computed. [2021-10-31 03:18:25,868 INFO L853 garLoopResultBuilder]: At program point L6236-1(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,869 INFO L853 garLoopResultBuilder]: At program point L6236-2(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,869 INFO L853 garLoopResultBuilder]: At program point L6236(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,869 INFO L853 garLoopResultBuilder]: At program point L6236-5(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,869 INFO L853 garLoopResultBuilder]: At program point L6236-6(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,869 INFO L853 garLoopResultBuilder]: At program point L6236-3(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,869 INFO L853 garLoopResultBuilder]: At program point L6236-4(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,869 INFO L857 garLoopResultBuilder]: For program point L4915(line 4915) no Hoare annotation was computed. [2021-10-31 03:18:25,870 INFO L853 garLoopResultBuilder]: At program point L6236-7(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,870 INFO L853 garLoopResultBuilder]: At program point L4651(lines 4619 4658) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,870 INFO L857 garLoopResultBuilder]: For program point L4916(lines 4916 4920) no Hoare annotation was computed. [2021-10-31 03:18:25,870 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startFINAL(line -1) no Hoare annotation was computed. [2021-10-31 03:18:25,870 INFO L857 garLoopResultBuilder]: For program point L5974(lines 5974 5979) no Hoare annotation was computed. [2021-10-31 03:18:25,870 INFO L857 garLoopResultBuilder]: For program point L5974-3(lines 5974 5979) no Hoare annotation was computed. [2021-10-31 03:18:25,870 INFO L857 garLoopResultBuilder]: For program point L5974-4(lines 5974 5979) no Hoare annotation was computed. [2021-10-31 03:18:25,870 INFO L857 garLoopResultBuilder]: For program point L5974-1(lines 5974 5979) no Hoare annotation was computed. [2021-10-31 03:18:25,871 INFO L857 garLoopResultBuilder]: For program point L5974-2(lines 5974 5979) no Hoare annotation was computed. [2021-10-31 03:18:25,871 INFO L853 garLoopResultBuilder]: At program point L4653(lines 4619 4658) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,871 INFO L857 garLoopResultBuilder]: For program point L4389(line 4389) no Hoare annotation was computed. [2021-10-31 03:18:25,871 INFO L857 garLoopResultBuilder]: For program point L4389-1(line 4389) no Hoare annotation was computed. [2021-10-31 03:18:25,871 INFO L853 garLoopResultBuilder]: At program point L6240(lines 6239 6241) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,871 INFO L857 garLoopResultBuilder]: For program point L4391(lines 4391 4394) no Hoare annotation was computed. [2021-10-31 03:18:25,871 INFO L857 garLoopResultBuilder]: For program point L4391-1(lines 4391 4394) no Hoare annotation was computed. [2021-10-31 03:18:25,872 INFO L853 garLoopResultBuilder]: At program point L3863-1(lines 3849 3865) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,872 INFO L853 garLoopResultBuilder]: At program point L3863(lines 3849 3865) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,872 INFO L853 garLoopResultBuilder]: At program point L3863-3(lines 3849 3865) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,872 INFO L853 garLoopResultBuilder]: At program point L3863-2(lines 3849 3865) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,872 INFO L853 garLoopResultBuilder]: At program point L5978(lines 5965 5981) the Hoare annotation is: (let ((.cse0 (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|)) (.cse1 (= ~ldv_mutex_lp_mutex~0 1)) (.cse2 (= 1 ~ldv_mutex_mutex_of_device~0)) (.cse3 (= ~ldv_mutex_i_mutex_of_inode~0 1)) (.cse4 (= ~ldv_mutex_lock~0 1)) (.cse5 (= ~ldv_state_variable_3~0 1)) (.cse6 (= ~ldv_retval_0~0 0))) (or (and .cse0 .cse1 .cse2 (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) .cse3 (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) .cse4 .cse5 .cse6) (and .cse0 .cse1 .cse2 (= (+ |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 4) 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) .cse3 .cse4 .cse5 .cse6))) [2021-10-31 03:18:25,872 INFO L853 garLoopResultBuilder]: At program point L5978-3(lines 5965 5981) the Hoare annotation is: (let ((.cse0 (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|)) (.cse1 (= 1 ~ldv_mutex_mutex_of_device~0)) (.cse2 (= 2 ~ldv_mutex_lp_mutex~0)) (.cse3 (= ~ldv_mutex_i_mutex_of_inode~0 1)) (.cse4 (= ~ldv_mutex_lock~0 1)) (.cse5 (= ~ldv_retval_0~0 0))) (or (and .cse0 .cse1 .cse2 (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) .cse3 (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) .cse4 .cse5) (and .cse0 .cse1 (= (+ |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 4) 0) .cse2 (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) .cse3 .cse4 .cse5))) [2021-10-31 03:18:25,872 INFO L853 garLoopResultBuilder]: At program point L5978-4(lines 5965 5981) the Hoare annotation is: (let ((.cse0 (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|)) (.cse1 (= 1 ~ldv_mutex_mutex_of_device~0)) (.cse2 (= 2 ~ldv_mutex_lp_mutex~0)) (.cse3 (= ~ldv_mutex_i_mutex_of_inode~0 1)) (.cse4 (= ~ldv_mutex_lock~0 1)) (.cse5 (= ~ldv_retval_0~0 0))) (or (and .cse0 .cse1 .cse2 (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) .cse3 (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) .cse4 .cse5) (and .cse0 .cse1 (= (+ |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 4) 0) .cse2 (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) .cse3 .cse4 .cse5))) [2021-10-31 03:18:25,873 INFO L853 garLoopResultBuilder]: At program point L5978-1(lines 5965 5981) the Hoare annotation is: (let ((.cse0 (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|)) (.cse1 (= ~ldv_mutex_lp_mutex~0 1)) (.cse2 (= 1 ~ldv_mutex_mutex_of_device~0)) (.cse3 (= ~ldv_mutex_i_mutex_of_inode~0 1)) (.cse4 (= ~ldv_mutex_lock~0 1)) (.cse5 (= ~ldv_retval_0~0 0))) (or (and .cse0 .cse1 .cse2 (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) .cse3 (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) .cse4 .cse5) (and .cse0 .cse1 .cse2 (= (+ |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 4) 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) .cse3 .cse4 .cse5))) [2021-10-31 03:18:25,873 INFO L853 garLoopResultBuilder]: At program point L5978-2(lines 5965 5981) the Hoare annotation is: (let ((.cse0 (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|)) (.cse1 (= ~ldv_mutex_lp_mutex~0 1)) (.cse2 (= 1 ~ldv_mutex_mutex_of_device~0)) (.cse3 (= ~ldv_mutex_i_mutex_of_inode~0 1)) (.cse4 (= ~ldv_mutex_lock~0 1)) (.cse5 (= ~ldv_retval_0~0 0))) (or (and .cse0 .cse1 .cse2 (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) .cse3 (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) .cse4 .cse5) (and .cse0 .cse1 .cse2 (= (+ |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 4) 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) .cse3 .cse4 .cse5))) [2021-10-31 03:18:25,873 INFO L857 garLoopResultBuilder]: For program point L5714(lines 5714 5717) no Hoare annotation was computed. [2021-10-31 03:18:25,873 INFO L857 garLoopResultBuilder]: For program point L5714-3(lines 5714 5717) no Hoare annotation was computed. [2021-10-31 03:18:25,873 INFO L857 garLoopResultBuilder]: For program point L5714-4(lines 5714 5717) no Hoare annotation was computed. [2021-10-31 03:18:25,873 INFO L857 garLoopResultBuilder]: For program point L5714-1(lines 5714 5717) no Hoare annotation was computed. [2021-10-31 03:18:25,873 INFO L857 garLoopResultBuilder]: For program point L5714-2(lines 5714 5717) no Hoare annotation was computed. [2021-10-31 03:18:25,874 INFO L857 garLoopResultBuilder]: For program point L5714-5(lines 5714 5717) no Hoare annotation was computed. [2021-10-31 03:18:25,874 INFO L857 garLoopResultBuilder]: For program point L4922(line 4922) no Hoare annotation was computed. [2021-10-31 03:18:25,874 INFO L853 garLoopResultBuilder]: At program point L6244(lines 6243 6245) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,874 INFO L857 garLoopResultBuilder]: For program point L4923(lines 4923 4927) no Hoare annotation was computed. [2021-10-31 03:18:25,874 INFO L857 garLoopResultBuilder]: For program point L4923-2(lines 4914 4966) no Hoare annotation was computed. [2021-10-31 03:18:25,874 INFO L853 garLoopResultBuilder]: At program point L4659(lines 4613 4662) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,874 INFO L853 garLoopResultBuilder]: At program point L3602(lines 3597 3604) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,874 INFO L853 garLoopResultBuilder]: At program point L3602-1(lines 3597 3604) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,875 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,875 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr12ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,875 INFO L853 garLoopResultBuilder]: At program point L5719(lines 5711 5721) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,875 INFO L853 garLoopResultBuilder]: At program point L5719-1(lines 5711 5721) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,875 INFO L853 garLoopResultBuilder]: At program point L5719-2(lines 5711 5721) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,875 INFO L853 garLoopResultBuilder]: At program point L6248-1(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,876 INFO L853 garLoopResultBuilder]: At program point L6248-2(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,876 INFO L853 garLoopResultBuilder]: At program point L6248(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,876 INFO L853 garLoopResultBuilder]: At program point L6248-5(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,876 INFO L853 garLoopResultBuilder]: At program point L6248-6(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,876 INFO L853 garLoopResultBuilder]: At program point L6248-3(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,876 INFO L853 garLoopResultBuilder]: At program point L6248-4(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,877 INFO L853 garLoopResultBuilder]: At program point L6248-9(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,877 INFO L853 garLoopResultBuilder]: At program point L6248-10(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,877 INFO L853 garLoopResultBuilder]: At program point L6248-7(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,877 INFO L853 garLoopResultBuilder]: At program point L6248-8(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,877 INFO L853 garLoopResultBuilder]: At program point L6248-13(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,877 INFO L853 garLoopResultBuilder]: At program point L6248-14(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,877 INFO L853 garLoopResultBuilder]: At program point L6248-11(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,878 INFO L853 garLoopResultBuilder]: At program point L6248-12(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,878 INFO L853 garLoopResultBuilder]: At program point L6248-17(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,878 INFO L853 garLoopResultBuilder]: At program point L6248-18(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,878 INFO L853 garLoopResultBuilder]: At program point L6248-15(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,878 INFO L853 garLoopResultBuilder]: At program point L6248-16(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,878 INFO L853 garLoopResultBuilder]: At program point L6248-21(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,879 INFO L853 garLoopResultBuilder]: At program point L6248-22(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,879 INFO L853 garLoopResultBuilder]: At program point L6248-19(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,879 INFO L853 garLoopResultBuilder]: At program point L6248-20(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,879 INFO L853 garLoopResultBuilder]: At program point L6248-23(lines 6247 6249) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,879 INFO L857 garLoopResultBuilder]: For program point L4401(lines 4401 4404) no Hoare annotation was computed. [2021-10-31 03:18:25,879 INFO L857 garLoopResultBuilder]: For program point L4401-1(lines 4401 4404) no Hoare annotation was computed. [2021-10-31 03:18:25,879 INFO L857 garLoopResultBuilder]: For program point L4666(lines 4666 4670) no Hoare annotation was computed. [2021-10-31 03:18:25,880 INFO L857 garLoopResultBuilder]: For program point L4666-3(lines 4666 4670) no Hoare annotation was computed. [2021-10-31 03:18:25,880 INFO L853 garLoopResultBuilder]: At program point L4666-2(lines 4663 4673) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,880 INFO L853 garLoopResultBuilder]: At program point L4666-5(lines 4663 4673) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,880 INFO L853 garLoopResultBuilder]: At program point L6252-1(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,880 INFO L853 garLoopResultBuilder]: At program point L6252-2(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,880 INFO L853 garLoopResultBuilder]: At program point L6252(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,880 INFO L853 garLoopResultBuilder]: At program point L6252-5(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,881 INFO L853 garLoopResultBuilder]: At program point L6252-6(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,881 INFO L853 garLoopResultBuilder]: At program point L6252-3(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,881 INFO L853 garLoopResultBuilder]: At program point L6252-4(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,881 INFO L853 garLoopResultBuilder]: At program point L6252-9(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,881 INFO L853 garLoopResultBuilder]: At program point L6252-10(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,881 INFO L853 garLoopResultBuilder]: At program point L6252-7(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,882 INFO L853 garLoopResultBuilder]: At program point L6252-8(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,882 INFO L853 garLoopResultBuilder]: At program point L6252-13(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,882 INFO L853 garLoopResultBuilder]: At program point L6252-14(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,882 INFO L853 garLoopResultBuilder]: At program point L6252-11(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,882 INFO L853 garLoopResultBuilder]: At program point L6252-12(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,882 INFO L853 garLoopResultBuilder]: At program point L6252-17(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,883 INFO L853 garLoopResultBuilder]: At program point L6252-18(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,883 INFO L853 garLoopResultBuilder]: At program point L3610(lines 3605 3612) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,883 INFO L853 garLoopResultBuilder]: At program point L6252-15(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,883 INFO L853 garLoopResultBuilder]: At program point L6252-16(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,883 INFO L853 garLoopResultBuilder]: At program point L3610-2(lines 3605 3612) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,883 INFO L853 garLoopResultBuilder]: At program point L3610-1(lines 3605 3612) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,883 INFO L853 garLoopResultBuilder]: At program point L3610-4(lines 3605 3612) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,884 INFO L853 garLoopResultBuilder]: At program point L6252-19(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,884 INFO L853 garLoopResultBuilder]: At program point L3610-3(lines 3605 3612) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,884 INFO L853 garLoopResultBuilder]: At program point L6252-20(lines 6251 6253) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,884 INFO L853 garLoopResultBuilder]: At program point L3610-6(lines 3605 3612) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,884 INFO L853 garLoopResultBuilder]: At program point L3610-5(lines 3605 3612) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,884 INFO L853 garLoopResultBuilder]: At program point L3610-8(lines 3605 3612) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,885 INFO L853 garLoopResultBuilder]: At program point L3610-7(lines 3605 3612) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,885 INFO L857 garLoopResultBuilder]: For program point L4934(line 4934) no Hoare annotation was computed. [2021-10-31 03:18:25,885 INFO L857 garLoopResultBuilder]: For program point L4406(line 4406) no Hoare annotation was computed. [2021-10-31 03:18:25,885 INFO L857 garLoopResultBuilder]: For program point L4406-1(line 4406) no Hoare annotation was computed. [2021-10-31 03:18:25,885 INFO L853 garLoopResultBuilder]: At program point L6256(lines 6255 6257) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,885 INFO L857 garLoopResultBuilder]: For program point L4935(lines 4935 4940) no Hoare annotation was computed. [2021-10-31 03:18:25,885 INFO L857 garLoopResultBuilder]: For program point L3878(lines 3878 3881) no Hoare annotation was computed. [2021-10-31 03:18:25,885 INFO L857 garLoopResultBuilder]: For program point L3878-2(lines 3878 3881) no Hoare annotation was computed. [2021-10-31 03:18:25,886 INFO L857 garLoopResultBuilder]: For program point L3878-1(lines 3878 3881) no Hoare annotation was computed. [2021-10-31 03:18:25,886 INFO L857 garLoopResultBuilder]: For program point L3878-4(lines 3878 3881) no Hoare annotation was computed. [2021-10-31 03:18:25,886 INFO L857 garLoopResultBuilder]: For program point L3878-3(lines 3878 3881) no Hoare annotation was computed. [2021-10-31 03:18:25,886 INFO L857 garLoopResultBuilder]: For program point L4409(line 4409) no Hoare annotation was computed. [2021-10-31 03:18:25,886 INFO L857 garLoopResultBuilder]: For program point L4409-1(line 4409) no Hoare annotation was computed. [2021-10-31 03:18:25,886 INFO L853 garLoopResultBuilder]: At program point L6259(lines 6258 6260) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,886 INFO L853 garLoopResultBuilder]: At program point L6259-1(lines 6258 6260) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,886 INFO L857 garLoopResultBuilder]: For program point L4146(line 4146) no Hoare annotation was computed. [2021-10-31 03:18:25,887 INFO L857 garLoopResultBuilder]: For program point L4146-2(line 4146) no Hoare annotation was computed. [2021-10-31 03:18:25,887 INFO L857 garLoopResultBuilder]: For program point L4147(lines 4147 4150) no Hoare annotation was computed. [2021-10-31 03:18:25,887 INFO L857 garLoopResultBuilder]: For program point L4147-2(lines 4147 4150) no Hoare annotation was computed. [2021-10-31 03:18:25,887 INFO L853 garLoopResultBuilder]: At program point L3883-1(lines 3883 3886) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,887 INFO L857 garLoopResultBuilder]: For program point L3883(lines 3883 3886) no Hoare annotation was computed. [2021-10-31 03:18:25,887 INFO L853 garLoopResultBuilder]: At program point L3883-3(lines 3883 3886) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,887 INFO L857 garLoopResultBuilder]: For program point L3883-2(lines 3883 3886) no Hoare annotation was computed. [2021-10-31 03:18:25,888 INFO L853 garLoopResultBuilder]: At program point L3883-5(lines 3883 3886) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,888 INFO L857 garLoopResultBuilder]: For program point L3883-4(lines 3883 3886) no Hoare annotation was computed. [2021-10-31 03:18:25,888 INFO L853 garLoopResultBuilder]: At program point L3883-7(lines 3883 3886) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,888 INFO L857 garLoopResultBuilder]: For program point L3883-6(lines 3883 3886) no Hoare annotation was computed. [2021-10-31 03:18:25,888 INFO L853 garLoopResultBuilder]: At program point L3883-9(lines 3883 3886) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,888 INFO L857 garLoopResultBuilder]: For program point L3883-8(lines 3883 3886) no Hoare annotation was computed. [2021-10-31 03:18:25,888 INFO L857 garLoopResultBuilder]: For program point L4412-1(lines 4412 4415) no Hoare annotation was computed. [2021-10-31 03:18:25,888 INFO L857 garLoopResultBuilder]: For program point L4412(lines 4412 4415) no Hoare annotation was computed. [2021-10-31 03:18:25,889 INFO L853 garLoopResultBuilder]: At program point L6262(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,889 INFO L853 garLoopResultBuilder]: At program point L6262-3(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,889 INFO L853 garLoopResultBuilder]: At program point L6262-4(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,889 INFO L853 garLoopResultBuilder]: At program point L6262-1(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,889 INFO L853 garLoopResultBuilder]: At program point L6262-2(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,889 INFO L853 garLoopResultBuilder]: At program point L6262-7(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,890 INFO L853 garLoopResultBuilder]: At program point L6262-8(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,890 INFO L853 garLoopResultBuilder]: At program point L6262-5(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,890 INFO L853 garLoopResultBuilder]: At program point L6262-6(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,890 INFO L853 garLoopResultBuilder]: At program point L6262-11(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,890 INFO L853 garLoopResultBuilder]: At program point L6262-12(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,890 INFO L853 garLoopResultBuilder]: At program point L6262-9(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,891 INFO L853 garLoopResultBuilder]: At program point L6262-10(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,891 INFO L853 garLoopResultBuilder]: At program point L6262-15(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,891 INFO L853 garLoopResultBuilder]: At program point L6262-16(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,891 INFO L853 garLoopResultBuilder]: At program point L6262-13(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,891 INFO L853 garLoopResultBuilder]: At program point L6262-14(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,891 INFO L853 garLoopResultBuilder]: At program point L6262-19(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,892 INFO L853 garLoopResultBuilder]: At program point L6262-20(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,892 INFO L853 garLoopResultBuilder]: At program point L6262-17(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,892 INFO L853 garLoopResultBuilder]: At program point L6262-18(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,892 INFO L853 garLoopResultBuilder]: At program point L6262-23(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,892 INFO L853 garLoopResultBuilder]: At program point L6262-24(lines 1 6310) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,892 INFO L853 garLoopResultBuilder]: At program point L6262-21(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,892 INFO L853 garLoopResultBuilder]: At program point L6262-22(lines 6261 6263) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,893 INFO L857 garLoopResultBuilder]: For program point L4942(line 4942) no Hoare annotation was computed. [2021-10-31 03:18:25,893 INFO L857 garLoopResultBuilder]: For program point L4943(lines 4943 4947) no Hoare annotation was computed. [2021-10-31 03:18:25,893 INFO L853 garLoopResultBuilder]: At program point L5208-1(lines 5199 5211) the Hoare annotation is: (let ((.cse0 (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|)) (.cse1 (= ~ldv_mutex_lp_mutex~0 1)) (.cse2 (= 1 ~ldv_mutex_mutex_of_device~0)) (.cse3 (= ~ldv_mutex_i_mutex_of_inode~0 1)) (.cse4 (= ~ldv_mutex_lock~0 1)) (.cse5 (= ~ldv_retval_0~0 0))) (or (and .cse0 .cse1 .cse2 (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) .cse3 (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) .cse4 .cse5) (and .cse0 .cse1 .cse2 (= (+ |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 4) 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) .cse3 .cse4 (= (+ |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 4) 0) .cse5))) [2021-10-31 03:18:25,893 INFO L853 garLoopResultBuilder]: At program point L5208(lines 5199 5211) the Hoare annotation is: (let ((.cse0 (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|)) (.cse1 (= ~ldv_mutex_lp_mutex~0 1)) (.cse2 (= 1 ~ldv_mutex_mutex_of_device~0)) (.cse3 (= ~ldv_mutex_i_mutex_of_inode~0 1)) (.cse4 (= ~ldv_mutex_lock~0 1)) (.cse5 (= ~ldv_state_variable_3~0 1)) (.cse6 (= ~ldv_retval_0~0 0))) (or (and .cse0 .cse1 .cse2 (= (+ |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 4) 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) .cse3 .cse4 (= (+ |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 4) 0) .cse5 .cse6) (and .cse0 .cse1 .cse2 (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) .cse3 (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) .cse4 .cse5 .cse6))) [2021-10-31 03:18:25,893 INFO L853 garLoopResultBuilder]: At program point L6266(lines 6265 6267) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,893 INFO L857 garLoopResultBuilder]: For program point L4152(lines 4152 4155) no Hoare annotation was computed. [2021-10-31 03:18:25,893 INFO L853 garLoopResultBuilder]: At program point L6266-3(lines 6265 6267) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,894 INFO L853 garLoopResultBuilder]: At program point L6266-1(lines 6265 6267) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,894 INFO L853 garLoopResultBuilder]: At program point L6266-2(lines 6265 6267) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,894 INFO L857 garLoopResultBuilder]: For program point L4417-2(line 4417) no Hoare annotation was computed. [2021-10-31 03:18:25,894 INFO L857 garLoopResultBuilder]: For program point L4417(line 4417) no Hoare annotation was computed. [2021-10-31 03:18:25,894 INFO L853 garLoopResultBuilder]: At program point L3625-1(lines 3620 3627) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,894 INFO L853 garLoopResultBuilder]: At program point L3625(lines 3620 3627) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,895 INFO L853 garLoopResultBuilder]: At program point L3625-3(lines 3620 3627) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,895 INFO L853 garLoopResultBuilder]: At program point L3625-2(lines 3620 3627) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,895 INFO L853 garLoopResultBuilder]: At program point L3625-5(lines 3620 3627) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,895 INFO L853 garLoopResultBuilder]: At program point L3625-4(lines 3620 3627) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,895 INFO L853 garLoopResultBuilder]: At program point L3625-6(lines 3620 3627) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,895 INFO L853 garLoopResultBuilder]: At program point L3890(lines 3890 3894) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,895 INFO L853 garLoopResultBuilder]: At program point L3890-2(lines 3890 3894) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,896 INFO L853 garLoopResultBuilder]: At program point L3890-1(lines 3890 3894) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,896 INFO L853 garLoopResultBuilder]: At program point L3890-4(lines 3890 3894) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,896 INFO L853 garLoopResultBuilder]: At program point L3890-3(lines 3890 3894) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,896 INFO L853 garLoopResultBuilder]: At program point L6269(lines 6268 6270) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= ~ldv_state_variable_3~0 0)) [2021-10-31 03:18:25,896 INFO L853 garLoopResultBuilder]: At program point L4420-1(lines 4334 4422) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,896 INFO L853 garLoopResultBuilder]: At program point L4420(lines 4334 4422) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,897 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr9ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,897 INFO L857 garLoopResultBuilder]: For program point L4949(line 4949) no Hoare annotation was computed. [2021-10-31 03:18:25,897 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr20ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,897 INFO L853 garLoopResultBuilder]: At program point L4421(lines 4324 4423) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,897 INFO L853 garLoopResultBuilder]: At program point L4421-1(lines 4324 4423) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,897 INFO L857 garLoopResultBuilder]: For program point L4157(line 4157) no Hoare annotation was computed. [2021-10-31 03:18:25,897 INFO L857 garLoopResultBuilder]: For program point L4157-2(line 4157) no Hoare annotation was computed. [2021-10-31 03:18:25,897 INFO L857 garLoopResultBuilder]: For program point L4950(lines 4950 4954) no Hoare annotation was computed. [2021-10-31 03:18:25,898 INFO L853 garLoopResultBuilder]: At program point L6272(lines 6271 6273) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,898 INFO L853 garLoopResultBuilder]: At program point L3895-4(lines 3866 3897) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,898 INFO L857 garLoopResultBuilder]: For program point L4160(lines 4160 4164) no Hoare annotation was computed. [2021-10-31 03:18:25,898 INFO L853 garLoopResultBuilder]: At program point L6276-1(lines 6275 6277) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,898 INFO L853 garLoopResultBuilder]: At program point L6276-2(lines 6275 6277) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,898 INFO L853 garLoopResultBuilder]: At program point L6276(lines 6275 6277) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,899 INFO L853 garLoopResultBuilder]: At program point L6276-3(lines 6275 6277) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,899 INFO L857 garLoopResultBuilder]: For program point L4956(line 4956) no Hoare annotation was computed. [2021-10-31 03:18:25,899 INFO L853 garLoopResultBuilder]: At program point L3635-1(lines 3628 3637) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,899 INFO L857 garLoopResultBuilder]: For program point L4692(lines 4692 4695) no Hoare annotation was computed. [2021-10-31 03:18:25,899 INFO L853 garLoopResultBuilder]: At program point L3635(lines 3628 3637) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,899 INFO L853 garLoopResultBuilder]: At program point L3635-3(lines 3628 3637) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,900 INFO L853 garLoopResultBuilder]: At program point L3635-2(lines 3628 3637) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,900 INFO L853 garLoopResultBuilder]: At program point L3635-5(lines 3628 3637) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,900 INFO L853 garLoopResultBuilder]: At program point L3635-4(lines 3628 3637) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,900 INFO L853 garLoopResultBuilder]: At program point L3635-6(lines 3628 3637) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,900 INFO L857 garLoopResultBuilder]: For program point L4428-2(lines 4428 4431) no Hoare annotation was computed. [2021-10-31 03:18:25,900 INFO L857 garLoopResultBuilder]: For program point L4428(line 4428) no Hoare annotation was computed. [2021-10-31 03:18:25,900 INFO L857 garLoopResultBuilder]: For program point L4428-5(lines 4428 4431) no Hoare annotation was computed. [2021-10-31 03:18:25,900 INFO L857 garLoopResultBuilder]: For program point L4428-3(line 4428) no Hoare annotation was computed. [2021-10-31 03:18:25,901 INFO L857 garLoopResultBuilder]: For program point L4957(lines 4957 4962) no Hoare annotation was computed. [2021-10-31 03:18:25,901 INFO L853 garLoopResultBuilder]: At program point L6279(lines 6278 6280) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,901 INFO L853 garLoopResultBuilder]: At program point L6279-1(lines 6278 6280) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,901 INFO L853 garLoopResultBuilder]: At program point L6279-4(lines 6278 6280) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,901 INFO L853 garLoopResultBuilder]: At program point L6279-5(lines 6278 6280) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,901 INFO L853 garLoopResultBuilder]: At program point L6279-2(lines 6278 6280) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,902 INFO L853 garLoopResultBuilder]: At program point L6279-3(lines 6278 6280) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,902 INFO L857 garLoopResultBuilder]: For program point L4168(lines 4168 4171) no Hoare annotation was computed. [2021-10-31 03:18:25,902 INFO L857 garLoopResultBuilder]: For program point L4434(lines 4434 4437) no Hoare annotation was computed. [2021-10-31 03:18:25,902 INFO L853 garLoopResultBuilder]: At program point L3377-1(lines 3373 3379) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,902 INFO L853 garLoopResultBuilder]: At program point L3377(lines 3373 3379) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,902 INFO L853 garLoopResultBuilder]: At program point L3377-3(lines 3373 3379) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,902 INFO L857 garLoopResultBuilder]: For program point L4434-1(lines 4434 4437) no Hoare annotation was computed. [2021-10-31 03:18:25,903 INFO L853 garLoopResultBuilder]: At program point L3377-2(lines 3373 3379) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,903 INFO L853 garLoopResultBuilder]: At program point L3377-5(lines 3373 3379) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,903 INFO L853 garLoopResultBuilder]: At program point L3377-4(lines 3373 3379) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,903 INFO L853 garLoopResultBuilder]: At program point L3377-7(lines 3373 3379) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,903 INFO L853 garLoopResultBuilder]: At program point L3377-6(lines 3373 3379) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,903 INFO L853 garLoopResultBuilder]: At program point L3377-9(lines 3373 3379) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,904 INFO L853 garLoopResultBuilder]: At program point L3377-8(lines 3373 3379) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,904 INFO L853 garLoopResultBuilder]: At program point L3377-10(lines 3373 3379) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,904 INFO L857 garLoopResultBuilder]: For program point L4964(line 4964) no Hoare annotation was computed. [2021-10-31 03:18:25,904 INFO L853 garLoopResultBuilder]: At program point L6286(lines 6285 6287) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,904 INFO L857 garLoopResultBuilder]: For program point L4172(lines 4172 4176) no Hoare annotation was computed. [2021-10-31 03:18:25,904 INFO L853 garLoopResultBuilder]: At program point L6286-1(lines 6285 6287) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,904 INFO L853 garLoopResultBuilder]: At program point L5229(lines 5220 5232) the Hoare annotation is: (let ((.cse0 (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|)) (.cse1 (= ~ldv_mutex_lp_mutex~0 1)) (.cse2 (= 1 ~ldv_mutex_mutex_of_device~0)) (.cse3 (= ~ldv_mutex_i_mutex_of_inode~0 1)) (.cse4 (= ~ldv_mutex_lock~0 1)) (.cse5 (= ~ldv_retval_0~0 0))) (or (and .cse0 .cse1 .cse2 (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) .cse3 (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) .cse4 .cse5) (and .cse0 .cse1 (= 0 (+ |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 4)) .cse2 (= (+ |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 4) 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) .cse3 .cse4 .cse5))) [2021-10-31 03:18:25,905 INFO L857 garLoopResultBuilder]: For program point L3909(line 3909) no Hoare annotation was computed. [2021-10-31 03:18:25,905 INFO L857 garLoopResultBuilder]: For program point L3909-2(lines 3909 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,905 INFO L857 garLoopResultBuilder]: For program point L3909-4(line 3909) no Hoare annotation was computed. [2021-10-31 03:18:25,905 INFO L857 garLoopResultBuilder]: For program point L3909-6(lines 3909 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,905 INFO L857 garLoopResultBuilder]: For program point L3909-8(line 3909) no Hoare annotation was computed. [2021-10-31 03:18:25,905 INFO L857 garLoopResultBuilder]: For program point L3909-10(lines 3909 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,905 INFO L857 garLoopResultBuilder]: For program point L3909-12(line 3909) no Hoare annotation was computed. [2021-10-31 03:18:25,905 INFO L857 garLoopResultBuilder]: For program point L3909-14(lines 3909 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,906 INFO L853 garLoopResultBuilder]: At program point L4439(lines 4424 4441) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,906 INFO L853 garLoopResultBuilder]: At program point L4439-1(lines 4424 4441) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,906 INFO L857 garLoopResultBuilder]: For program point L3912(lines 3912 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,906 INFO L857 garLoopResultBuilder]: For program point L3912-2(lines 3912 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,906 INFO L857 garLoopResultBuilder]: For program point L3912-4(lines 3912 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,906 INFO L857 garLoopResultBuilder]: For program point L3912-6(lines 3912 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,906 INFO L853 garLoopResultBuilder]: At program point L3648(lines 3639 3650) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,906 INFO L853 garLoopResultBuilder]: At program point L3648-1(lines 3639 3650) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,907 INFO L857 garLoopResultBuilder]: For program point L4177(lines 4177 4190) no Hoare annotation was computed. [2021-10-31 03:18:25,907 INFO L857 garLoopResultBuilder]: For program point L3913(lines 3913 3917) no Hoare annotation was computed. [2021-10-31 03:18:25,907 INFO L857 garLoopResultBuilder]: For program point L3913-3(lines 3913 3917) no Hoare annotation was computed. [2021-10-31 03:18:25,907 INFO L857 garLoopResultBuilder]: For program point L3913-2(lines 3913 3917) no Hoare annotation was computed. [2021-10-31 03:18:25,907 INFO L857 garLoopResultBuilder]: For program point L3913-5(lines 3913 3917) no Hoare annotation was computed. [2021-10-31 03:18:25,907 INFO L857 garLoopResultBuilder]: For program point L3913-6(lines 3913 3917) no Hoare annotation was computed. [2021-10-31 03:18:25,907 INFO L857 garLoopResultBuilder]: For program point L3913-9(lines 3913 3917) no Hoare annotation was computed. [2021-10-31 03:18:25,907 INFO L857 garLoopResultBuilder]: For program point L3913-8(lines 3913 3917) no Hoare annotation was computed. [2021-10-31 03:18:25,908 INFO L857 garLoopResultBuilder]: For program point L3913-11(lines 3913 3917) no Hoare annotation was computed. [2021-10-31 03:18:25,908 INFO L857 garLoopResultBuilder]: For program point L4971(line 4971) no Hoare annotation was computed. [2021-10-31 03:18:25,908 INFO L853 garLoopResultBuilder]: At program point L3386(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,908 INFO L853 garLoopResultBuilder]: At program point L3386-2(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,908 INFO L853 garLoopResultBuilder]: At program point L3386-1(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,908 INFO L853 garLoopResultBuilder]: At program point L3386-4(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,908 INFO L853 garLoopResultBuilder]: At program point L3386-3(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,909 INFO L853 garLoopResultBuilder]: At program point L6293-2(lines 6292 6294) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,909 INFO L853 garLoopResultBuilder]: At program point L3386-6(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,909 INFO L853 garLoopResultBuilder]: At program point L3386-5(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,909 INFO L853 garLoopResultBuilder]: At program point L6293-3(lines 6292 6294) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,909 INFO L853 garLoopResultBuilder]: At program point L6293(lines 6292 6294) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,909 INFO L853 garLoopResultBuilder]: At program point L3386-8(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,910 INFO L853 garLoopResultBuilder]: At program point L6293-1(lines 6292 6294) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,910 INFO L853 garLoopResultBuilder]: At program point L3386-7(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,910 INFO L853 garLoopResultBuilder]: At program point L3386-10(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,910 INFO L853 garLoopResultBuilder]: At program point L3386-9(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,910 INFO L853 garLoopResultBuilder]: At program point L6293-4(lines 6292 6294) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,910 INFO L853 garLoopResultBuilder]: At program point L3386-12(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,910 INFO L853 garLoopResultBuilder]: At program point L6293-5(lines 6292 6294) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,911 INFO L853 garLoopResultBuilder]: At program point L3386-11(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,911 INFO L853 garLoopResultBuilder]: At program point L3386-14(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,911 INFO L853 garLoopResultBuilder]: At program point L3386-13(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,911 INFO L853 garLoopResultBuilder]: At program point L3386-16(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,911 INFO L857 garLoopResultBuilder]: For program point L4972(lines 4972 5006) no Hoare annotation was computed. [2021-10-31 03:18:25,911 INFO L853 garLoopResultBuilder]: At program point L3386-15(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,912 INFO L853 garLoopResultBuilder]: At program point L3386-17(lines 3380 3388) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,912 INFO L857 garLoopResultBuilder]: For program point L4181(lines 4181 4185) no Hoare annotation was computed. [2021-10-31 03:18:25,912 INFO L857 garLoopResultBuilder]: For program point L4974(lines 4974 5003) no Hoare annotation was computed. [2021-10-31 03:18:25,912 INFO L857 garLoopResultBuilder]: For program point L4975(line 4975) no Hoare annotation was computed. [2021-10-31 03:18:25,912 INFO L853 garLoopResultBuilder]: At program point L4711(lines 4690 4748) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,912 INFO L853 garLoopResultBuilder]: At program point L6297(lines 6296 6298) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,912 INFO L857 garLoopResultBuilder]: For program point L4976(lines 4976 4981) no Hoare annotation was computed. [2021-10-31 03:18:25,913 INFO L853 garLoopResultBuilder]: At program point L3655(lines 3653 3656) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,913 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr6ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,913 INFO L857 garLoopResultBuilder]: For program point L3920(lines 3920 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,913 INFO L857 garLoopResultBuilder]: For program point ULTIMATE.startErr17ASSERT_VIOLATIONERROR_FUNCTION(line 5335) no Hoare annotation was computed. [2021-10-31 03:18:25,913 INFO L857 garLoopResultBuilder]: For program point L3920-2(lines 3920 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,913 INFO L857 garLoopResultBuilder]: For program point L3920-4(lines 3920 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,913 INFO L857 garLoopResultBuilder]: For program point L3920-6(lines 3920 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,913 INFO L853 garLoopResultBuilder]: At program point L4713(lines 4690 4748) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= ~ldv_state_variable_0~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,914 INFO L857 garLoopResultBuilder]: For program point L3921(lines 3921 3925) no Hoare annotation was computed. [2021-10-31 03:18:25,914 INFO L857 garLoopResultBuilder]: For program point L3921-3(lines 3921 3925) no Hoare annotation was computed. [2021-10-31 03:18:25,914 INFO L857 garLoopResultBuilder]: For program point L3921-2(lines 3921 3925) no Hoare annotation was computed. [2021-10-31 03:18:25,914 INFO L857 garLoopResultBuilder]: For program point L3921-5(lines 3921 3925) no Hoare annotation was computed. [2021-10-31 03:18:25,914 INFO L857 garLoopResultBuilder]: For program point L3921-6(lines 3921 3925) no Hoare annotation was computed. [2021-10-31 03:18:25,914 INFO L857 garLoopResultBuilder]: For program point L3921-9(lines 3921 3925) no Hoare annotation was computed. [2021-10-31 03:18:25,914 INFO L857 garLoopResultBuilder]: For program point L3921-8(lines 3921 3925) no Hoare annotation was computed. [2021-10-31 03:18:25,914 INFO L857 garLoopResultBuilder]: For program point L3921-11(lines 3921 3925) no Hoare annotation was computed. [2021-10-31 03:18:25,915 INFO L853 garLoopResultBuilder]: At program point L6301-2(lines 6300 6302) the Hoare annotation is: (and (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,915 INFO L853 garLoopResultBuilder]: At program point L6301(lines 6300 6302) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,915 INFO L853 garLoopResultBuilder]: At program point L6301-1(lines 6300 6302) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,915 INFO L853 garLoopResultBuilder]: At program point L3395-1(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,915 INFO L853 garLoopResultBuilder]: At program point L3395(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,915 INFO L853 garLoopResultBuilder]: At program point L3395-3(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,916 INFO L853 garLoopResultBuilder]: At program point L3395-2(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,916 INFO L853 garLoopResultBuilder]: At program point L3395-5(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,916 INFO L853 garLoopResultBuilder]: At program point L3395-4(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,916 INFO L853 garLoopResultBuilder]: At program point L3395-7(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,916 INFO L853 garLoopResultBuilder]: At program point L3395-6(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,916 INFO L853 garLoopResultBuilder]: At program point L3395-9(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,916 INFO L853 garLoopResultBuilder]: At program point L3395-8(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,917 INFO L853 garLoopResultBuilder]: At program point L3395-11(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,917 INFO L853 garLoopResultBuilder]: At program point L3395-10(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,917 INFO L853 garLoopResultBuilder]: At program point L3395-13(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,917 INFO L853 garLoopResultBuilder]: At program point L3395-12(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,917 INFO L853 garLoopResultBuilder]: At program point L3395-15(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,917 INFO L853 garLoopResultBuilder]: At program point L3395-14(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,918 INFO L853 garLoopResultBuilder]: At program point L3395-17(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ULTIMATE.start_lp_do_ioctl_~tmp___0~10 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_18_#res| 0)) [2021-10-31 03:18:25,918 INFO L853 garLoopResultBuilder]: At program point L3395-16(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,918 INFO L853 garLoopResultBuilder]: At program point L3395-18(lines 3389 3397) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,918 INFO L857 garLoopResultBuilder]: For program point L4717(lines 4717 4721) no Hoare annotation was computed. [2021-10-31 03:18:25,918 INFO L857 garLoopResultBuilder]: For program point L4453(lines 4453 4466) no Hoare annotation was computed. [2021-10-31 03:18:25,918 INFO L857 garLoopResultBuilder]: For program point L5775(lines 5775 5778) no Hoare annotation was computed. [2021-10-31 03:18:25,918 INFO L857 garLoopResultBuilder]: For program point L5775-1(lines 5775 5778) no Hoare annotation was computed. [2021-10-31 03:18:25,918 INFO L857 garLoopResultBuilder]: For program point L5775-4(lines 5775 5778) no Hoare annotation was computed. [2021-10-31 03:18:25,919 INFO L857 garLoopResultBuilder]: For program point L5775-5(lines 5775 5778) no Hoare annotation was computed. [2021-10-31 03:18:25,919 INFO L857 garLoopResultBuilder]: For program point L5775-2(lines 5775 5778) no Hoare annotation was computed. [2021-10-31 03:18:25,919 INFO L857 garLoopResultBuilder]: For program point L5775-3(lines 5775 5778) no Hoare annotation was computed. [2021-10-31 03:18:25,919 INFO L857 garLoopResultBuilder]: For program point L4454(line 4454) no Hoare annotation was computed. [2021-10-31 03:18:25,919 INFO L857 garLoopResultBuilder]: For program point L4983(line 4983) no Hoare annotation was computed. [2021-10-31 03:18:25,919 INFO L857 garLoopResultBuilder]: For program point L4984(lines 4984 4999) no Hoare annotation was computed. [2021-10-31 03:18:25,919 INFO L853 garLoopResultBuilder]: At program point L3663(lines 3658 3665) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= 1 ~ldv_mutex_mutex_of_device~0) (= 2 ~ldv_mutex_lp_mutex~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,919 INFO L857 garLoopResultBuilder]: For program point L4456(lines 4456 4460) no Hoare annotation was computed. [2021-10-31 03:18:25,920 INFO L857 garLoopResultBuilder]: For program point L3928(lines 3928 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,920 INFO L857 garLoopResultBuilder]: For program point L3928-2(lines 3909 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,920 INFO L857 garLoopResultBuilder]: For program point L3928-3(lines 3928 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,920 INFO L857 garLoopResultBuilder]: For program point L3928-6(lines 3928 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,920 INFO L857 garLoopResultBuilder]: For program point L3928-5(lines 3909 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,920 INFO L857 garLoopResultBuilder]: For program point L3928-8(lines 3909 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,920 INFO L857 garLoopResultBuilder]: For program point L3928-9(lines 3928 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,920 INFO L857 garLoopResultBuilder]: For program point L3928-11(lines 3909 3937) no Hoare annotation was computed. [2021-10-31 03:18:25,921 INFO L857 garLoopResultBuilder]: For program point L4193(lines 4193 4197) no Hoare annotation was computed. [2021-10-31 03:18:25,921 INFO L857 garLoopResultBuilder]: For program point L4986(lines 4986 4992) no Hoare annotation was computed. [2021-10-31 03:18:25,921 INFO L857 garLoopResultBuilder]: For program point L3929(lines 3929 3933) no Hoare annotation was computed. [2021-10-31 03:18:25,921 INFO L853 garLoopResultBuilder]: At program point L4986-1(lines 4984 4998) the Hoare annotation is: (let ((.cse0 (= ~ldv_mutex_lp_mutex~0 1)) (.cse1 (= 1 ~ldv_mutex_mutex_of_device~0)) (.cse2 (= ~ldv_mutex_port_mutex_of_lp_struct~0 1)) (.cse3 (= ~ldv_mutex_i_mutex_of_inode~0 1)) (.cse4 (= ~ldv_mutex_lock~0 1)) (.cse5 (= ~ldv_retval_0~0 0))) (or (and .cse0 .cse1 .cse2 .cse3 .cse4 .cse5 (= ~ldv_state_variable_3~0 0)) (and .cse0 .cse1 .cse2 .cse3 .cse4 (= ~ldv_state_variable_3~0 1) .cse5) (and .cse0 (= ~ldv_state_variable_0~0 1) .cse1 .cse2 .cse3 .cse4 (not .cse5)) (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) .cse0 .cse1 .cse2 .cse3 .cse4 .cse5))) [2021-10-31 03:18:25,921 INFO L857 garLoopResultBuilder]: For program point L3929-3(lines 3929 3933) no Hoare annotation was computed. [2021-10-31 03:18:25,921 INFO L857 garLoopResultBuilder]: For program point L3929-2(lines 3929 3933) no Hoare annotation was computed. [2021-10-31 03:18:25,921 INFO L857 garLoopResultBuilder]: For program point L3929-5(lines 3929 3933) no Hoare annotation was computed. [2021-10-31 03:18:25,921 INFO L857 garLoopResultBuilder]: For program point L3929-6(lines 3929 3933) no Hoare annotation was computed. [2021-10-31 03:18:25,922 INFO L857 garLoopResultBuilder]: For program point L3929-9(lines 3929 3933) no Hoare annotation was computed. [2021-10-31 03:18:25,922 INFO L857 garLoopResultBuilder]: For program point L3929-8(lines 3929 3933) no Hoare annotation was computed. [2021-10-31 03:18:25,922 INFO L857 garLoopResultBuilder]: For program point L3929-11(lines 3929 3933) no Hoare annotation was computed. [2021-10-31 03:18:25,922 INFO L857 garLoopResultBuilder]: For program point L6308(lines 6308 6310) no Hoare annotation was computed. [2021-10-31 03:18:25,922 INFO L853 garLoopResultBuilder]: At program point L5780-1(lines 5772 5782) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,922 INFO L853 garLoopResultBuilder]: At program point L5780-2(lines 5772 5782) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,922 INFO L853 garLoopResultBuilder]: At program point L5780(lines 5772 5782) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 1) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,922 INFO L857 garLoopResultBuilder]: For program point L4725(lines 4725 4730) no Hoare annotation was computed. [2021-10-31 03:18:25,923 INFO L853 garLoopResultBuilder]: At program point L3404(lines 3398 3406) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,923 INFO L853 garLoopResultBuilder]: At program point L3404-2(lines 3398 3406) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,923 INFO L853 garLoopResultBuilder]: At program point L3404-1(lines 3398 3406) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,923 INFO L853 garLoopResultBuilder]: At program point L3404-4(lines 3398 3406) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,923 INFO L853 garLoopResultBuilder]: At program point L3404-3(lines 3398 3406) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ~ldv_state_variable_3~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,923 INFO L853 garLoopResultBuilder]: At program point L3404-6(lines 3398 3406) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,923 INFO L853 garLoopResultBuilder]: At program point L3404-5(lines 3398 3406) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,923 INFO L853 garLoopResultBuilder]: At program point L3404-8(lines 3398 3406) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= ULTIMATE.start_lp_read_~tmp___2~2 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_14_#res| 0) (= ~ldv_mutex_lock~0 1) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,923 INFO L853 garLoopResultBuilder]: At program point L3404-7(lines 3398 3406) the Hoare annotation is: (and (or (not (= ULTIMATE.start_main_~tmp___5~2 ~ldv_state_variable_3~0)) |ULTIMATE.start_main_#t~switch497|) (= ~ldv_mutex_lp_mutex~0 1) (= 1 ~ldv_mutex_mutex_of_device~0) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_port_mutex_of_lp_struct_#res| 0) (= ~ldv_mutex_i_mutex_of_inode~0 1) (= |ULTIMATE.start_ldv_mutex_lock_interruptible_12_#res| 0) (= ~ldv_mutex_port_mutex_of_lp_struct~0 2) (= ~ldv_mutex_lock~0 1) (= ULTIMATE.start_lp_write_~tmp___1~1 0) (= ~ldv_retval_0~0 0)) [2021-10-31 03:18:25,926 INFO L731 BasicCegarLoop]: Path program histogram: [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-31 03:18:25,928 INFO L179 ceAbstractionStarter]: Computing trace abstraction results [2021-10-31 03:18:26,430 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 31.10 03:18:26 BoogieIcfgContainer [2021-10-31 03:18:26,430 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2021-10-31 03:18:26,431 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-10-31 03:18:26,431 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-10-31 03:18:26,431 INFO L275 PluginConnector]: Witness Printer initialized [2021-10-31 03:18:26,432 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 31.10 03:16:37" (3/4) ... [2021-10-31 03:18:26,436 INFO L137 WitnessPrinter]: Generating witness for correct program [2021-10-31 03:18:26,509 INFO L910 BoogieBacktranslator]: Reduced CFG by removing 681 nodes and edges [2021-10-31 03:18:26,518 INFO L910 BoogieBacktranslator]: Reduced CFG by removing 268 nodes and edges [2021-10-31 03:18:26,534 INFO L910 BoogieBacktranslator]: Reduced CFG by removing 29 nodes and edges [2021-10-31 03:18:26,538 INFO L910 BoogieBacktranslator]: Reduced CFG by removing 5 nodes and edges [2021-10-31 03:18:26,541 INFO L910 BoogieBacktranslator]: Reduced CFG by removing 3 nodes and edges [2021-10-31 03:18:26,544 INFO L910 BoogieBacktranslator]: Reduced CFG by removing 1 nodes and edges [2021-10-31 03:18:26,546 INFO L910 BoogieBacktranslator]: Reduced CFG by removing 1 nodes and edges [2021-10-31 03:18:26,587 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0) || (((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0)) || (((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && 5 + \result <= 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0)) || ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) [2021-10-31 03:18:26,590 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0) || (((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0)) || (((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && !(\result == 0)) && ldv_retval_0 == 0)) || ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) [2021-10-31 03:18:26,597 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0) || (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0) [2021-10-31 03:18:26,601 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) || ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) [2021-10-31 03:18:26,606 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && \result + 4 == 0) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0) || ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0) [2021-10-31 03:18:26,609 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) || (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && \result + 4 == 0) && ldv_retval_0 == 0) [2021-10-31 03:18:26,610 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) || ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) [2021-10-31 03:18:26,610 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) || (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 0 == \result + 4) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) [2021-10-31 03:18:26,611 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,611 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,612 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) || ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) [2021-10-31 03:18:26,612 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,617 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,617 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) || ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) [2021-10-31 03:18:26,631 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,631 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && \result + 4 == 0) && ldv_retval_0 == 0) || (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0) [2021-10-31 03:18:26,631 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,631 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,632 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,632 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,634 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && \result + 4 == 0) && ldv_retval_0 == 0) || (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0) [2021-10-31 03:18:26,637 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,640 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,644 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,646 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,649 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,651 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,655 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,655 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,659 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,659 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,663 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,664 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,668 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,668 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,672 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,674 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,677 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,677 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,681 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,683 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,686 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,686 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,690 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,691 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,695 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,695 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,699 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,700 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,704 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,704 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,708 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,708 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,711 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,713 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,717 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,717 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,721 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,723 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,726 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,726 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,730 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,732 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,735 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,735 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,739 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,741 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,744 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,744 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,748 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,748 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,751 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,753 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,757 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,757 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,760 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,762 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,766 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,766 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,770 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,771 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,775 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,775 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,779 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,781 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,784 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,784 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,788 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,788 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,792 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,793 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,795 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,795 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,798 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,799 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,801 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,801 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,804 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,805 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,808 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,808 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,812 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,812 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,814 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,816 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,819 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,819 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,821 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,822 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,824 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,825 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,827 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,828 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,831 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,831 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,833 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,834 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,837 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,837 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,839 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,839 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,842 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,843 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,846 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,846 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,848 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,850 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,852 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 [2021-10-31 03:18:26,853 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,855 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,857 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,860 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,860 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,862 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,863 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,866 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,866 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,868 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,868 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,871 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,872 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,874 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,874 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,877 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,878 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,880 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,880 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,883 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,884 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,886 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,886 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,889 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,890 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,892 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,892 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,894 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,895 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,897 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,898 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,901 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,901 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,903 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,904 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,907 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,907 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,909 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,911 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,913 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,913 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,915 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,916 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,919 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,919 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,921 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,921 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,924 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,925 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,927 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,927 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,929 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,931 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,933 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,933 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,935 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,937 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,939 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,939 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,941 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,943 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 [2021-10-31 03:18:26,945 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,946 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,948 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,948 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,950 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,951 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,954 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,954 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,956 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,957 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,960 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,960 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,962 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,963 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,966 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,966 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,968 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,969 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,971 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,972 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,974 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,975 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,977 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,977 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,980 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,980 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,985 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,985 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,987 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,987 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,990 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,991 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,993 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,993 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,996 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,997 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,999 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:26,999 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,002 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,003 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,005 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,005 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,008 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,008 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,010 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,011 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,013 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,013 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,016 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,017 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,019 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,019 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,022 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,023 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,025 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,026 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,028 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,029 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,031 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,031 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,034 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,034 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,036 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,037 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,040 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,040 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,042 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,043 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,046 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,046 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,048 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,049 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,052 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,052 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,054 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,055 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,057 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,058 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,060 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,060 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,062 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,063 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,066 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,066 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,068 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,069 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,075 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,075 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,075 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,076 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,079 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,079 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,081 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,082 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,084 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,084 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,087 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,088 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,090 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,090 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,093 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,093 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,095 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,096 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,099 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,099 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,101 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,107 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,107 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,107 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,109 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,110 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,112 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,113 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,115 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,116 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,118 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,119 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,121 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,121 WARN L220 nessWitnessGenerator]: Not writing invariant because ACSL is forbidden: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 [2021-10-31 03:18:27,498 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2021-10-31 03:18:27,499 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-10-31 03:18:27,520 INFO L168 Benchmark]: Toolchain (without parser) took 116464.95 ms. Allocated memory was 100.7 MB in the beginning and 1.3 GB in the end (delta: 1.2 GB). Free memory was 63.2 MB in the beginning and 836.0 MB in the end (delta: -772.8 MB). Peak memory consumption was 443.8 MB. Max. memory is 16.1 GB. [2021-10-31 03:18:27,520 INFO L168 Benchmark]: CDTParser took 0.57 ms. Allocated memory is still 100.7 MB. Free memory is still 57.1 MB. There was no memory consumed. Max. memory is 16.1 GB. [2021-10-31 03:18:27,521 INFO L168 Benchmark]: CACSL2BoogieTranslator took 1833.76 ms. Allocated memory was 100.7 MB in the beginning and 155.2 MB in the end (delta: 54.5 MB). Free memory was 62.9 MB in the beginning and 88.9 MB in the end (delta: -25.9 MB). Peak memory consumption was 56.9 MB. Max. memory is 16.1 GB. [2021-10-31 03:18:27,521 INFO L168 Benchmark]: Boogie Procedure Inliner took 306.61 ms. Allocated memory is still 155.2 MB. Free memory was 88.9 MB in the beginning and 91.2 MB in the end (delta: -2.3 MB). Peak memory consumption was 38.4 MB. Max. memory is 16.1 GB. [2021-10-31 03:18:27,521 INFO L168 Benchmark]: Boogie Preprocessor took 179.20 ms. Allocated memory is still 155.2 MB. Free memory was 91.2 MB in the beginning and 63.2 MB in the end (delta: 28.0 MB). Peak memory consumption was 27.3 MB. Max. memory is 16.1 GB. [2021-10-31 03:18:27,522 INFO L168 Benchmark]: RCFGBuilder took 3721.96 ms. Allocated memory was 155.2 MB in the beginning and 352.3 MB in the end (delta: 197.1 MB). Free memory was 63.2 MB in the beginning and 212.0 MB in the end (delta: -148.7 MB). Peak memory consumption was 70.8 MB. Max. memory is 16.1 GB. [2021-10-31 03:18:27,522 INFO L168 Benchmark]: TraceAbstraction took 109346.64 ms. Allocated memory was 352.3 MB in the beginning and 1.3 GB in the end (delta: 966.8 MB). Free memory was 212.0 MB in the beginning and 1.2 GB in the end (delta: -958.5 MB). Peak memory consumption was 765.5 MB. Max. memory is 16.1 GB. [2021-10-31 03:18:27,522 INFO L168 Benchmark]: Witness Printer took 1067.79 ms. Allocated memory is still 1.3 GB. Free memory was 1.2 GB in the beginning and 836.0 MB in the end (delta: 334.5 MB). Peak memory consumption was 333.4 MB. Max. memory is 16.1 GB. [2021-10-31 03:18:27,524 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.57 ms. Allocated memory is still 100.7 MB. Free memory is still 57.1 MB. There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 1833.76 ms. Allocated memory was 100.7 MB in the beginning and 155.2 MB in the end (delta: 54.5 MB). Free memory was 62.9 MB in the beginning and 88.9 MB in the end (delta: -25.9 MB). Peak memory consumption was 56.9 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 306.61 ms. Allocated memory is still 155.2 MB. Free memory was 88.9 MB in the beginning and 91.2 MB in the end (delta: -2.3 MB). Peak memory consumption was 38.4 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 179.20 ms. Allocated memory is still 155.2 MB. Free memory was 91.2 MB in the beginning and 63.2 MB in the end (delta: 28.0 MB). Peak memory consumption was 27.3 MB. Max. memory is 16.1 GB. * RCFGBuilder took 3721.96 ms. Allocated memory was 155.2 MB in the beginning and 352.3 MB in the end (delta: 197.1 MB). Free memory was 63.2 MB in the beginning and 212.0 MB in the end (delta: -148.7 MB). Peak memory consumption was 70.8 MB. Max. memory is 16.1 GB. * TraceAbstraction took 109346.64 ms. Allocated memory was 352.3 MB in the beginning and 1.3 GB in the end (delta: 966.8 MB). Free memory was 212.0 MB in the beginning and 1.2 GB in the end (delta: -958.5 MB). Peak memory consumption was 765.5 MB. Max. memory is 16.1 GB. * Witness Printer took 1067.79 ms. Allocated memory is still 1.3 GB. Free memory was 1.2 GB in the beginning and 836.0 MB in the end (delta: 334.5 MB). Peak memory consumption was 333.4 MB. Max. memory is 16.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - PositiveResult [Line: 5335]: call to reach_error is unreachable For all program executions holds that call to reach_error is unreachable at this location - StatisticsResult: Ultimate Automizer benchmark data CFG has 1 procedures, 1215 locations, 21 error locations. Started 1 CEGAR loops. OverallTime: 108.7s, OverallIterations: 25, TraceHistogramMax: 4, PathProgramHistogramMax: 2, EmptinessCheckTime: 0.0s, AutomataDifference: 9.5s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 86.6s, InitialAbstractionConstructionTime: 0.0s, PartialOrderReductionTime: 0.0s, HoareTripleCheckerStatistics: 54962 SDtfs, 55545 SDslu, 74287 SDs, 0 SdLazy, 947 SolverSat, 280 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 3.5s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 632 GetRequests, 554 SyntacticMatches, 0 SemanticMatches, 78 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 21 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=4383occurred in iteration=12, InterpolantAutomatonStates: 114, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 3.2s AutomataMinimizationTime, 25 MinimizatonAttempts, 25937 StatesRemovedByMinimization, 15 NontrivialMinimizations, HoareAnnotationStatistics: 0.0s HoareAnnotationTime, 570 LocationsWithAnnotation, 570 PreInvPairs, 3959 NumberOfFragments, 17751 HoareAnnotationTreeSize, 570 FomulaSimplifications, 158541880 FormulaSimplificationTreeSizeReduction, 19.9s HoareSimplificationTime, 570 FomulaSimplificationsInter, 42050515 FormulaSimplificationTreeSizeReductionInter, 66.5s HoareSimplificationTimeInter, RefinementEngineStatistics: TRACE_CHECK: 0.6s SsaConstructionTime, 2.3s SatisfiabilityAnalysisTime, 3.4s InterpolantComputationTime, 3542 NumberOfCodeBlocks, 3542 NumberOfCodeBlocksAsserted, 29 NumberOfCheckSat, 3513 ConstructedInterpolants, 0 QuantifiedInterpolants, 4641 SizeOfPredicates, 4 NumberOfNonLiveVariables, 8532 ConjunctsInSsa, 15 ConjunctsInUnsatCore, 29 InterpolantComputations, 24 PerfectInterpolantSequences, 536/541 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available - AllSpecificationsHoldResult: All specifications hold 21 specifications checked. All of them hold - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3951]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3418]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3628]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 4334]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3538]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3373]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 4133]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6285]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4880]: Loop Invariant Derived loop invariant: ((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3678]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3546]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3538]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3898]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4449]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3883]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3527]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3866]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3373]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3803]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3939]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6292]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3605]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4663]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3605]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5130]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 6170]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3418]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4613]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3415]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5352]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6265]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3418]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3815]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3815]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6108]: Loop Invariant Derived loop invariant: 1 - InvariantResult [Line: 3849]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4764]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3951]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5772]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3939]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3639]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4133]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3776]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5130]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6300]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6285]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3951]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3527]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3890]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 6278]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3678]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3418]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3684]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3815]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 4690]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4521]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3546]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4584]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3684]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3527]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3684]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 6255]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6278]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4424]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6152]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6296]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4690]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4133]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6265]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3527]: Loop Invariant Derived loop invariant: (((((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0) || ((((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0)) || (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) - InvariantResult [Line: 3776]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3448]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3445]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4481]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4324]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3415]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6228]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3978]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6258]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3827]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3373]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3803]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3639]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3373]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3735]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3527]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3491]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3735]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3827]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 5772]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6152]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3776]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6152]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3836]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3684]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3849]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6152]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6152]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3418]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6111]: Loop Invariant Derived loop invariant: (((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1 - InvariantResult [Line: 4424]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3898]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6140]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3883]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4030]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3418]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6174]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6152]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6137]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6140]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3760]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6174]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4442]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6275]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3827]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 5130]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6278]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6278]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3946]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6265]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3684]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6275]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6209]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5352]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6134]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 6300]: Loop Invariant Derived loop invariant: ((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3735]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 5323]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3890]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4797]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3890]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3827]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6060]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3398]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5772]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3415]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3398]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4550]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3398]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3827]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3415]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3415]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3776]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4852]: Loop Invariant Derived loop invariant: 1 - InvariantResult [Line: 3628]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3597]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5352]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3890]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3415]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5711]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3398]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3735]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3678]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3620]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3890]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3527]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 5711]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 5364]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3546]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4258]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3373]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3803]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3564]: Loop Invariant Derived loop invariant: 1 - InvariantResult [Line: 3939]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5965]: Loop Invariant Derived loop invariant: ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) || ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3373]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3827]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3803]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3890]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3620]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6174]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3951]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3939]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3546]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4030]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5352]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3620]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3538]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3898]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3373]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3803]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 4831]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 5257]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && \result + 4 == 0) && ldv_retval_0 == 0) || (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0) - InvariantResult [Line: 3717]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3717]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4232]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3415]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3418]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3415]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3815]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3418]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3628]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4133]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3538]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3538]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 4472]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6292]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3815]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3735]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6149]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3827]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3803]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3836]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3951]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3605]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3951]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3628]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3620]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3760]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 5352]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6060]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3717]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3803]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3527]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3946]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5220]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) || (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 0 == \result + 4) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3398]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6228]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6155]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3978]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3418]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4663]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3620]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3776]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 4116]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3620]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3418]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6278]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3951]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4750]: Loop Invariant Derived loop invariant: (((((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0) || (((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0)) || (((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && !(\result == 0)) && ldv_retval_0 == 0)) || ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) - InvariantResult [Line: 4222]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6152]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3658]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6178]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3527]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 6205]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3415]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6152]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3803]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3836]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6292]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3564]: Loop Invariant Derived loop invariant: 1 - InvariantResult [Line: 6268]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3827]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4324]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3418]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3373]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6178]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3803]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 5199]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && \result + 4 == 0) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0) || ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0) - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6292]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6278]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3735]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 6060]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4237]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6159]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6178]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3815]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3883]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5965]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0) || (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0) - InvariantResult [Line: 3717]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4030]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5310]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3415]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5965]: Loop Invariant Derived loop invariant: ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) || ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3538]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 4030]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3418]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3776]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6152]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 5965]: Loop Invariant Derived loop invariant: ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) || ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) - InvariantResult [Line: 3605]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3827]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3815]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4111]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3373]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6239]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3836]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4210]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6201]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3398]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6163]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3564]: Loop Invariant Derived loop invariant: 1 - InvariantResult [Line: 3415]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4619]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3373]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3564]: Loop Invariant Derived loop invariant: 1 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3538]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 4677]: Loop Invariant Derived loop invariant: (((((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0) || (((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0)) || (((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && 5 + \result <= 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0)) || ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) - InvariantResult [Line: 3538]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3883]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3605]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3890]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4334]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4111]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3491]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6185]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6174]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3951]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6149]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 5122]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3803]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4030]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3415]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3890]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3564]: Loop Invariant Derived loop invariant: 1 - InvariantResult [Line: 6140]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 5130]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4030]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4584]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6300]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3946]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3883]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3678]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 4984]: Loop Invariant Derived loop invariant: ((((((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0) || ((((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0)) || ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && !(ldv_retval_0 == 0))) || (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) - InvariantResult [Line: 6060]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 5323]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3898]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5130]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6178]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 6198]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3605]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6060]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3849]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6152]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3628]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3605]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3628]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3628]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3946]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4307]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3398]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3827]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6271]: Loop Invariant Derived loop invariant: ((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6178]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3418]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4690]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6140]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3803]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3827]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3815]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___0 == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0 - InvariantResult [Line: 3546]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3693]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3448]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4521]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3717]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6174]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3849]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3538]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3415]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5199]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) || (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && \result + 4 == 0) && ldv_retval_0 == 0) - InvariantResult [Line: 3776]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6292]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3678]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6152]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6217]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6221]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3605]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3389]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3678]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 5965]: Loop Invariant Derived loop invariant: ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) || ((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) - InvariantResult [Line: 3527]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3373]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 4797]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 3653]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6275]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 5257]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && \result + 4 == 0) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && \result + 4 == 0) && ldv_retval_0 == 0) || (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && \result == 0) - InvariantResult [Line: 6265]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: (((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0) && ldv_state_variable_3 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((ldv_mutex_lp_mutex == 1 && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3735]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3491]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3803]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4619]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3890]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 5711]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: ((((((ldv_mutex_lp_mutex == 1 && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6228]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6251]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3380]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3491]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3597]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3605]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3569]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6178]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6292]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3620]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6152]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3678]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3890]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6178]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6228]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6258]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 1]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 3398]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6275]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6243]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 4764]: Loop Invariant Derived loop invariant: (((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && ldv_state_variable_0 == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: -1]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3445]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6228]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && 1 == ldv_mutex_mutex_of_device) && 2 == ldv_mutex_lp_mutex) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6247]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 - InvariantResult [Line: 6261]: Loop Invariant Derived loop invariant: (((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && tmp___2 == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && \result == 0) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 6213]: Loop Invariant Derived loop invariant: ((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && ldv_mutex_port_mutex_of_lp_struct == 1) && ldv_mutex_i_mutex_of_inode == 1) && ldv_mutex_lock == 1) && ldv_retval_0 == 0 - InvariantResult [Line: 3398]: Loop Invariant Derived loop invariant: ((((((((((!(tmp___5 == ldv_state_variable_3) || aux-switch (tmp___5) { case 0: ; if (ldv_state_variable_1 != 0) { tmp___6 = __VERIFIER_nondet_int(); switch (tmp___6) { case 0: ; if (ldv_state_variable_1 == 2) { lp_attach(lp_driver_group0); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 1: ; if (ldv_state_variable_1 == 4) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } if (ldv_state_variable_1 == 3) { lp_detach(lp_driver_group0); ldv_state_variable_1 = 2; } else { } goto ldv_27881; case 2: ; if (ldv_state_variable_1 == 2) { ldv_release_1(); ldv_state_variable_1 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27881; case 3: ; if (ldv_state_variable_1 == 3) { ldv_open_1(); ldv_state_variable_1 = 4; } else { } goto ldv_27881; case 4: ; if (ldv_state_variable_1 == 4) { ldv_close_1(); ldv_state_variable_1 = 3; } else { } goto ldv_27881; case 5: ; if (ldv_state_variable_1 == 1) { ldv_probe_1(); ldv_state_variable_1 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27881; default: ldv_stop(); } ldv_27881: ; } else { } goto ldv_27888; case 1: ; if (ldv_state_variable_0 != 0) { tmp___7 = __VERIFIER_nondet_int(); switch (tmp___7) { case 0: ; if (ldv_state_variable_0 == 3 && ref_cnt == 0) { lp_cleanup_module(); ldv_state_variable_0 = 2; goto ldv_final; } else { } goto ldv_27892; case 1: ; if (ldv_state_variable_0 == 1) { ldv_retval_0 = lp_init_module(); if (ldv_retval_0 == 0) { ldv_state_variable_0 = 3; ldv_state_variable_2 = 1; ldv_state_variable_1 = 1; ldv_initialize_parport_driver_1(); } else { } if (ldv_retval_0 != 0) { ldv_state_variable_0 = 2; goto ldv_final; } else { } } else { } goto ldv_27892; default: ldv_stop(); } ldv_27892: ; } else { } goto ldv_27888; case 2: ; if (ldv_state_variable_3 != 0) { tmp___8 = __VERIFIER_nondet_int(); switch (tmp___8) { case 0: ; if (ldv_state_variable_3 == 1) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 1; } else { } if (ldv_state_variable_3 == 2) { lp_write(lp_fops_group2, (char const *)ldvarg11, ldvarg10, ldvarg9); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 1: ; if (ldv_state_variable_3 == 2) { lp_release(lp_fops_group1, lp_fops_group2); ldv_state_variable_3 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27897; case 2: ; if (ldv_state_variable_3 == 2) { lp_read(lp_fops_group2, ldvarg8, ldvarg7, ldvarg6); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 3: ; if (ldv_state_variable_3 == 2) { lp_compat_ioctl(lp_fops_group2, ldvarg5, ldvarg4); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 4: ; if (ldv_state_variable_3 == 2) { noop_llseek(lp_fops_group2, ldvarg3, ldvarg2); ldv_state_variable_3 = 2; } else { } goto ldv_27897; case 5: ; if (ldv_state_variable_3 == 1) { ldv_retval_1 = lp_open(lp_fops_group1, lp_fops_group2); if (ldv_retval_1 == 0) { ldv_state_variable_3 = 2; ref_cnt = ref_cnt + 1; } else { } } else { } goto ldv_27897; case 6: ; if (ldv_state_variable_3 == 2) { lp_ioctl(lp_fops_group2, ldvarg1, ldvarg0); ldv_state_variable_3 = 2; } else { } goto ldv_27897; default: ldv_stop(); } ldv_27897: ; } else { } goto ldv_27888; case 3: ; if (ldv_state_variable_2 != 0) { tmp___9 = __VERIFIER_nondet_int(); switch (tmp___9) { case 0: ; if (ldv_state_variable_2 == 2) { lp_console_write(ldvarg12, (char const *)ldvarg14, ldvarg13); ldv_state_variable_2 = 2; } else { } goto ldv_27907; case 1: ; if (ldv_state_variable_2 == 2) { ldv_release_2(); ldv_state_variable_2 = 1; ref_cnt = ref_cnt - 1; } else { } goto ldv_27907; case 2: ; if (ldv_state_variable_2 == 1) { ldv_probe_2(); ldv_state_variable_2 = 2; ref_cnt = ref_cnt + 1; } else { } goto ldv_27907; default: ldv_stop(); } ldv_27907: ; } else { } goto ldv_27888; default: ldv_stop(); }-aux) && ldv_mutex_lp_mutex == 1) && 1 == ldv_mutex_mutex_of_device) && \result == 0) && ldv_mutex_i_mutex_of_inode == 1) && \result == 0) && ldv_mutex_port_mutex_of_lp_struct == 2) && ldv_mutex_lock == 1) && ldv_state_variable_3 == 1) && tmp___1 == 0) && ldv_retval_0 == 0 RESULT: Ultimate proved your program to be correct! [2021-10-31 03:18:28,768 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Ended with exit code 0 Received shutdown request...