package ඓ.ῲ.K.ᕣ.ᕣ.ʬ;

import com.bumptech.glide.load.ImageHeaderParser;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import ඓ.ῲ.K.ᕣ.ᨨ.ゎ.AbstractC0967;
import ῲ.䁗.K.C2346;

/* renamed from: ඓ.ῲ.K.ᕣ.ᕣ.ʬ.Ԕ  reason: contains not printable characters */
/* compiled from: ExifInterfaceImageHeaderParser */
public final class C0855 implements ImageHeaderParser {
    @Override // com.bumptech.glide.load.ImageHeaderParser
    /* renamed from: K  reason: contains not printable characters */
    public ImageHeaderParser.ImageType m2477(InputStream inputStream) {
        return ImageHeaderParser.ImageType.UNKNOWN;
    }

    @Override // com.bumptech.glide.load.ImageHeaderParser
    /* renamed from: K  reason: contains not printable characters */
    public ImageHeaderParser.ImageType m2478(ByteBuffer byteBuffer) {
        return ImageHeaderParser.ImageType.UNKNOWN;
    }

    @Override // com.bumptech.glide.load.ImageHeaderParser
    /* renamed from: K  reason: contains not printable characters */
    public int m2476(InputStream inputStream, AbstractC0967 r3) throws IOException {
        C2346 k = new C2346(inputStream);
        C2346.C2348 r2 = k.m6148("Orientation");
        int i = 1;
        if (r2 != null) {
            try {
                i = r2.m6167(k.f8146);
            } catch (NumberFormatException unused) {
            }
        }
        if (i == 0) {
            return -1;
        }
        return i;
    }
}
