public static int unsignedMin(int a, long b) {
		return (Long.compareUnsigned(a & 0x0ffffffffL, b) < 0) ? a : (int) b;
	}
Compute the minimum, treating the inputs as unsigned

<p>
This method is overloaded to prevent accidental signed-extension on one of the inputs. This
method will correctly zero-extend the {@code int} parameter before performing any comparison.
Also note the return type is {@code int}, since b would never be selected if it overflows an
{@code int}.

@param a the first value to consider
@param b the second value to consider
@return the minimum
Ghidra/Framework/Generic/src/main/java/ghidra/util/MathUtilities.java