package o; /* loaded from: classes.dex */ public final class lDU extends C0743NnU { public lDU(Mhk mhk) { super(mhk); } @Override // o.C0743NnU public final String d(int i) { int i2 = 0; if (i == 0) { return e(0, 4); } if (i == 512) { int[] i3 = ((Mhk) this.a).i(512); if (i3 == null) { return null; } StringBuilder sb = new StringBuilder(); while (i2 < i3.length) { sb.append((int) ((short) i3[i2])); if (i2 < i3.length - 1) { sb.append(" "); } i2++; } if (sb.length() != 0) { return sb.toString(); } return null; } if (i == 1537) { int[] i4 = ((Mhk) this.a).i(1537); if (i4 == null) { return null; } int length = i4.length / 2; Axo[] axoArr = new Axo[length]; for (int i5 = 0; i5 < i4.length / 2; i5++) { int i6 = i5 << 1; axoArr[i5] = new Axo((short) i4[i6], (short) i4[i6 + 1]); } StringBuilder sb2 = new StringBuilder(); while (i2 < length) { sb2.append(axoArr[i2].doubleValue()); if (i2 < length - 1) { sb2.append(" "); } i2++; } if (sb2.length() != 0) { return sb2.toString(); } return null; } if (i != 4096) { return super.d(i); } Integer j = ((Mhk) this.a).j(4096); if (j == null) { return null; } short shortValue = j.shortValue(); if (shortValue == 0) { return "Unknown"; } if (shortValue == 20) { return "Tungsten (Incandescent)"; } if (shortValue == 22) { return "Evening Sunlight"; } if (shortValue == 256) { return "One Touch White Balance"; } if (shortValue == 512) { return "Custom 1-4"; } switch (shortValue) { case 16: return "Shade"; case 17: return "Cloudy"; case 18: return "Fine Weather"; default: switch (shortValue) { case 33: return "Daylight Fluorescent"; case 34: return "Day White Fluorescent"; case 35: return "Cool White Fluorescent"; case 36: return "White Fluorescent"; default: StringBuilder sb3 = new StringBuilder("Unknown ("); sb3.append(j); sb3.append(")"); return sb3.toString(); } } } }