package io.flutter.plugins.sharedpreferences;

import java.util.List;

/* JADX INFO: loaded from: classes.dex */
public final class f {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static final /* synthetic */ f f28286a = new f();

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static final kd.c f28287b = kotlin.a.c(new defpackage.c(4));

    public static ed.p a() {
        return (ed.p) f28287b.getValue();
    }

    public static void b(ed.i iVar, final g gVar, String str) {
        nb.g.i(iVar, "binaryMessenger");
        String strConcat = str.length() > 0 ? ".".concat(str) : "";
        ed.h hVarB = iVar.b();
        ed.e eVar = new ed.e(iVar, defpackage.e.i("dev.flutter.pigeon.shared_preferences_android.SharedPreferencesAsyncApi.setBool", strConcat), a(), hVarB);
        if (gVar != null) {
            final int i10 = 0;
            eVar.setMessageHandler(new ed.c() { // from class: io.flutter.plugins.sharedpreferences.e
                @Override // ed.c
                public final void onMessage(Object obj, ed.d dVar) {
                    List listA;
                    List listA2;
                    List listA3;
                    List listA4;
                    List listA5;
                    List listA6;
                    List listA7;
                    List listA8;
                    List listA9;
                    List listA10;
                    List listA11;
                    List listA12;
                    List listA13;
                    List listA14;
                    List listA15;
                    int i11 = i10;
                    g gVar2 = gVar;
                    switch (i11) {
                        case 0:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list = (List) obj;
                            Object obj2 = list.get(0);
                            nb.g.g(obj2, "null cannot be cast to non-null type kotlin.String");
                            String str2 = (String) obj2;
                            Object obj3 = list.get(1);
                            nb.g.g(obj3, "null cannot be cast to non-null type kotlin.Boolean");
                            boolean zBooleanValue = ((Boolean) obj3).booleanValue();
                            Object obj4 = list.get(2);
                            nb.g.g(obj4, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.e(str2, zBooleanValue, (j) obj4);
                                listA = hb.a.l0(null);
                            } catch (Throwable th) {
                                listA = nb.g.a(th);
                            }
                            dVar.reply(listA);
                            break;
                        case 1:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list2 = (List) obj;
                            Object obj5 = list2.get(0);
                            nb.g.g(obj5, "null cannot be cast to non-null type kotlin.String");
                            String str3 = (String) obj5;
                            Object obj6 = list2.get(1);
                            nb.g.g(obj6, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA2 = hb.a.l0(gVar2.f(str3, (j) obj6));
                            } catch (Throwable th2) {
                                listA2 = nb.g.a(th2);
                            }
                            dVar.reply(listA2);
                            break;
                        case 2:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list3 = (List) obj;
                            Object obj7 = list3.get(0);
                            nb.g.g(obj7, "null cannot be cast to non-null type kotlin.String");
                            String str4 = (String) obj7;
                            Object obj8 = list3.get(1);
                            nb.g.g(obj8, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA3 = hb.a.l0(gVar2.h(str4, (j) obj8));
                            } catch (Throwable th3) {
                                listA3 = nb.g.a(th3);
                            }
                            dVar.reply(listA3);
                            break;
                        case 3:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list4 = (List) obj;
                            List list5 = (List) list4.get(0);
                            Object obj9 = list4.get(1);
                            nb.g.g(obj9, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.o(list5, (j) obj9);
                                listA4 = hb.a.l0(null);
                            } catch (Throwable th4) {
                                listA4 = nb.g.a(th4);
                            }
                            dVar.reply(listA4);
                            break;
                        case 4:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list6 = (List) obj;
                            List list7 = (List) list6.get(0);
                            Object obj10 = list6.get(1);
                            nb.g.g(obj10, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA5 = hb.a.l0(gVar2.b(list7, (j) obj10));
                            } catch (Throwable th5) {
                                listA5 = nb.g.a(th5);
                            }
                            dVar.reply(listA5);
                            break;
                        case 5:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list8 = (List) obj;
                            List list9 = (List) list8.get(0);
                            Object obj11 = list8.get(1);
                            nb.g.g(obj11, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA6 = hb.a.l0(gVar2.c(list9, (j) obj11));
                            } catch (Throwable th6) {
                                listA6 = nb.g.a(th6);
                            }
                            dVar.reply(listA6);
                            break;
                        case 6:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list10 = (List) obj;
                            Object obj12 = list10.get(0);
                            nb.g.g(obj12, "null cannot be cast to non-null type kotlin.String");
                            String str5 = (String) obj12;
                            Object obj13 = list10.get(1);
                            nb.g.g(obj13, "null cannot be cast to non-null type kotlin.String");
                            String str6 = (String) obj13;
                            Object obj14 = list10.get(2);
                            nb.g.g(obj14, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.i(str5, str6, (j) obj14);
                                listA7 = hb.a.l0(null);
                            } catch (Throwable th7) {
                                listA7 = nb.g.a(th7);
                            }
                            dVar.reply(listA7);
                            break;
                        case 7:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list11 = (List) obj;
                            Object obj15 = list11.get(0);
                            nb.g.g(obj15, "null cannot be cast to non-null type kotlin.String");
                            String str7 = (String) obj15;
                            Object obj16 = list11.get(1);
                            nb.g.g(obj16, "null cannot be cast to non-null type kotlin.Long");
                            long jLongValue = ((Long) obj16).longValue();
                            Object obj17 = list11.get(2);
                            nb.g.g(obj17, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.l(str7, jLongValue, (j) obj17);
                                listA8 = hb.a.l0(null);
                            } catch (Throwable th8) {
                                listA8 = nb.g.a(th8);
                            }
                            dVar.reply(listA8);
                            break;
                        case 8:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list12 = (List) obj;
                            Object obj18 = list12.get(0);
                            nb.g.g(obj18, "null cannot be cast to non-null type kotlin.String");
                            String str8 = (String) obj18;
                            Object obj19 = list12.get(1);
                            nb.g.g(obj19, "null cannot be cast to non-null type kotlin.Double");
                            double dDoubleValue = ((Double) obj19).doubleValue();
                            Object obj20 = list12.get(2);
                            nb.g.g(obj20, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.m(str8, dDoubleValue, (j) obj20);
                                listA9 = hb.a.l0(null);
                            } catch (Throwable th9) {
                                listA9 = nb.g.a(th9);
                            }
                            dVar.reply(listA9);
                            break;
                        case 9:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list13 = (List) obj;
                            Object obj21 = list13.get(0);
                            nb.g.g(obj21, "null cannot be cast to non-null type kotlin.String");
                            String str9 = (String) obj21;
                            Object obj22 = list13.get(1);
                            nb.g.g(obj22, "null cannot be cast to non-null type kotlin.String");
                            String str10 = (String) obj22;
                            Object obj23 = list13.get(2);
                            nb.g.g(obj23, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.n(str9, str10, (j) obj23);
                                listA10 = hb.a.l0(null);
                            } catch (Throwable th10) {
                                listA10 = nb.g.a(th10);
                            }
                            dVar.reply(listA10);
                            break;
                        case 10:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list14 = (List) obj;
                            Object obj24 = list14.get(0);
                            nb.g.g(obj24, "null cannot be cast to non-null type kotlin.String");
                            String str11 = (String) obj24;
                            Object obj25 = list14.get(1);
                            nb.g.g(obj25, "null cannot be cast to non-null type kotlin.collections.List<kotlin.String>");
                            List list15 = (List) obj25;
                            Object obj26 = list14.get(2);
                            nb.g.g(obj26, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.a(str11, list15, (j) obj26);
                                listA11 = hb.a.l0(null);
                            } catch (Throwable th11) {
                                listA11 = nb.g.a(th11);
                            }
                            dVar.reply(listA11);
                            break;
                        case 11:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list16 = (List) obj;
                            Object obj27 = list16.get(0);
                            nb.g.g(obj27, "null cannot be cast to non-null type kotlin.String");
                            String str12 = (String) obj27;
                            Object obj28 = list16.get(1);
                            nb.g.g(obj28, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA12 = hb.a.l0(gVar2.k(str12, (j) obj28));
                            } catch (Throwable th12) {
                                listA12 = nb.g.a(th12);
                            }
                            dVar.reply(listA12);
                            break;
                        case 12:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list17 = (List) obj;
                            Object obj29 = list17.get(0);
                            nb.g.g(obj29, "null cannot be cast to non-null type kotlin.String");
                            String str13 = (String) obj29;
                            Object obj30 = list17.get(1);
                            nb.g.g(obj30, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA13 = hb.a.l0(gVar2.j(str13, (j) obj30));
                            } catch (Throwable th13) {
                                listA13 = nb.g.a(th13);
                            }
                            dVar.reply(listA13);
                            break;
                        case 13:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list18 = (List) obj;
                            Object obj31 = list18.get(0);
                            nb.g.g(obj31, "null cannot be cast to non-null type kotlin.String");
                            String str14 = (String) obj31;
                            Object obj32 = list18.get(1);
                            nb.g.g(obj32, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA14 = hb.a.l0(gVar2.g(str14, (j) obj32));
                            } catch (Throwable th14) {
                                listA14 = nb.g.a(th14);
                            }
                            dVar.reply(listA14);
                            break;
                        default:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list19 = (List) obj;
                            Object obj33 = list19.get(0);
                            nb.g.g(obj33, "null cannot be cast to non-null type kotlin.String");
                            String str15 = (String) obj33;
                            Object obj34 = list19.get(1);
                            nb.g.g(obj34, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA15 = hb.a.l0(gVar2.d(str15, (j) obj34));
                            } catch (Throwable th15) {
                                listA15 = nb.g.a(th15);
                            }
                            dVar.reply(listA15);
                            break;
                    }
                }
            });
        } else {
            eVar.setMessageHandler(null);
        }
        ed.e eVar2 = new ed.e(iVar, defpackage.e.i("dev.flutter.pigeon.shared_preferences_android.SharedPreferencesAsyncApi.setString", strConcat), a(), hVarB);
        if (gVar != null) {
            final int i11 = 6;
            eVar2.setMessageHandler(new ed.c() { // from class: io.flutter.plugins.sharedpreferences.e
                @Override // ed.c
                public final void onMessage(Object obj, ed.d dVar) {
                    List listA;
                    List listA2;
                    List listA3;
                    List listA4;
                    List listA5;
                    List listA6;
                    List listA7;
                    List listA8;
                    List listA9;
                    List listA10;
                    List listA11;
                    List listA12;
                    List listA13;
                    List listA14;
                    List listA15;
                    int i112 = i11;
                    g gVar2 = gVar;
                    switch (i112) {
                        case 0:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list = (List) obj;
                            Object obj2 = list.get(0);
                            nb.g.g(obj2, "null cannot be cast to non-null type kotlin.String");
                            String str2 = (String) obj2;
                            Object obj3 = list.get(1);
                            nb.g.g(obj3, "null cannot be cast to non-null type kotlin.Boolean");
                            boolean zBooleanValue = ((Boolean) obj3).booleanValue();
                            Object obj4 = list.get(2);
                            nb.g.g(obj4, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.e(str2, zBooleanValue, (j) obj4);
                                listA = hb.a.l0(null);
                            } catch (Throwable th) {
                                listA = nb.g.a(th);
                            }
                            dVar.reply(listA);
                            break;
                        case 1:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list2 = (List) obj;
                            Object obj5 = list2.get(0);
                            nb.g.g(obj5, "null cannot be cast to non-null type kotlin.String");
                            String str3 = (String) obj5;
                            Object obj6 = list2.get(1);
                            nb.g.g(obj6, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA2 = hb.a.l0(gVar2.f(str3, (j) obj6));
                            } catch (Throwable th2) {
                                listA2 = nb.g.a(th2);
                            }
                            dVar.reply(listA2);
                            break;
                        case 2:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list3 = (List) obj;
                            Object obj7 = list3.get(0);
                            nb.g.g(obj7, "null cannot be cast to non-null type kotlin.String");
                            String str4 = (String) obj7;
                            Object obj8 = list3.get(1);
                            nb.g.g(obj8, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA3 = hb.a.l0(gVar2.h(str4, (j) obj8));
                            } catch (Throwable th3) {
                                listA3 = nb.g.a(th3);
                            }
                            dVar.reply(listA3);
                            break;
                        case 3:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list4 = (List) obj;
                            List list5 = (List) list4.get(0);
                            Object obj9 = list4.get(1);
                            nb.g.g(obj9, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.o(list5, (j) obj9);
                                listA4 = hb.a.l0(null);
                            } catch (Throwable th4) {
                                listA4 = nb.g.a(th4);
                            }
                            dVar.reply(listA4);
                            break;
                        case 4:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list6 = (List) obj;
                            List list7 = (List) list6.get(0);
                            Object obj10 = list6.get(1);
                            nb.g.g(obj10, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA5 = hb.a.l0(gVar2.b(list7, (j) obj10));
                            } catch (Throwable th5) {
                                listA5 = nb.g.a(th5);
                            }
                            dVar.reply(listA5);
                            break;
                        case 5:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list8 = (List) obj;
                            List list9 = (List) list8.get(0);
                            Object obj11 = list8.get(1);
                            nb.g.g(obj11, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA6 = hb.a.l0(gVar2.c(list9, (j) obj11));
                            } catch (Throwable th6) {
                                listA6 = nb.g.a(th6);
                            }
                            dVar.reply(listA6);
                            break;
                        case 6:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list10 = (List) obj;
                            Object obj12 = list10.get(0);
                            nb.g.g(obj12, "null cannot be cast to non-null type kotlin.String");
                            String str5 = (String) obj12;
                            Object obj13 = list10.get(1);
                            nb.g.g(obj13, "null cannot be cast to non-null type kotlin.String");
                            String str6 = (String) obj13;
                            Object obj14 = list10.get(2);
                            nb.g.g(obj14, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.i(str5, str6, (j) obj14);
                                listA7 = hb.a.l0(null);
                            } catch (Throwable th7) {
                                listA7 = nb.g.a(th7);
                            }
                            dVar.reply(listA7);
                            break;
                        case 7:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list11 = (List) obj;
                            Object obj15 = list11.get(0);
                            nb.g.g(obj15, "null cannot be cast to non-null type kotlin.String");
                            String str7 = (String) obj15;
                            Object obj16 = list11.get(1);
                            nb.g.g(obj16, "null cannot be cast to non-null type kotlin.Long");
                            long jLongValue = ((Long) obj16).longValue();
                            Object obj17 = list11.get(2);
                            nb.g.g(obj17, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.l(str7, jLongValue, (j) obj17);
                                listA8 = hb.a.l0(null);
                            } catch (Throwable th8) {
                                listA8 = nb.g.a(th8);
                            }
                            dVar.reply(listA8);
                            break;
                        case 8:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list12 = (List) obj;
                            Object obj18 = list12.get(0);
                            nb.g.g(obj18, "null cannot be cast to non-null type kotlin.String");
                            String str8 = (String) obj18;
                            Object obj19 = list12.get(1);
                            nb.g.g(obj19, "null cannot be cast to non-null type kotlin.Double");
                            double dDoubleValue = ((Double) obj19).doubleValue();
                            Object obj20 = list12.get(2);
                            nb.g.g(obj20, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.m(str8, dDoubleValue, (j) obj20);
                                listA9 = hb.a.l0(null);
                            } catch (Throwable th9) {
                                listA9 = nb.g.a(th9);
                            }
                            dVar.reply(listA9);
                            break;
                        case 9:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list13 = (List) obj;
                            Object obj21 = list13.get(0);
                            nb.g.g(obj21, "null cannot be cast to non-null type kotlin.String");
                            String str9 = (String) obj21;
                            Object obj22 = list13.get(1);
                            nb.g.g(obj22, "null cannot be cast to non-null type kotlin.String");
                            String str10 = (String) obj22;
                            Object obj23 = list13.get(2);
                            nb.g.g(obj23, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.n(str9, str10, (j) obj23);
                                listA10 = hb.a.l0(null);
                            } catch (Throwable th10) {
                                listA10 = nb.g.a(th10);
                            }
                            dVar.reply(listA10);
                            break;
                        case 10:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list14 = (List) obj;
                            Object obj24 = list14.get(0);
                            nb.g.g(obj24, "null cannot be cast to non-null type kotlin.String");
                            String str11 = (String) obj24;
                            Object obj25 = list14.get(1);
                            nb.g.g(obj25, "null cannot be cast to non-null type kotlin.collections.List<kotlin.String>");
                            List list15 = (List) obj25;
                            Object obj26 = list14.get(2);
                            nb.g.g(obj26, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.a(str11, list15, (j) obj26);
                                listA11 = hb.a.l0(null);
                            } catch (Throwable th11) {
                                listA11 = nb.g.a(th11);
                            }
                            dVar.reply(listA11);
                            break;
                        case 11:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list16 = (List) obj;
                            Object obj27 = list16.get(0);
                            nb.g.g(obj27, "null cannot be cast to non-null type kotlin.String");
                            String str12 = (String) obj27;
                            Object obj28 = list16.get(1);
                            nb.g.g(obj28, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA12 = hb.a.l0(gVar2.k(str12, (j) obj28));
                            } catch (Throwable th12) {
                                listA12 = nb.g.a(th12);
                            }
                            dVar.reply(listA12);
                            break;
                        case 12:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list17 = (List) obj;
                            Object obj29 = list17.get(0);
                            nb.g.g(obj29, "null cannot be cast to non-null type kotlin.String");
                            String str13 = (String) obj29;
                            Object obj30 = list17.get(1);
                            nb.g.g(obj30, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA13 = hb.a.l0(gVar2.j(str13, (j) obj30));
                            } catch (Throwable th13) {
                                listA13 = nb.g.a(th13);
                            }
                            dVar.reply(listA13);
                            break;
                        case 13:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list18 = (List) obj;
                            Object obj31 = list18.get(0);
                            nb.g.g(obj31, "null cannot be cast to non-null type kotlin.String");
                            String str14 = (String) obj31;
                            Object obj32 = list18.get(1);
                            nb.g.g(obj32, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA14 = hb.a.l0(gVar2.g(str14, (j) obj32));
                            } catch (Throwable th14) {
                                listA14 = nb.g.a(th14);
                            }
                            dVar.reply(listA14);
                            break;
                        default:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list19 = (List) obj;
                            Object obj33 = list19.get(0);
                            nb.g.g(obj33, "null cannot be cast to non-null type kotlin.String");
                            String str15 = (String) obj33;
                            Object obj34 = list19.get(1);
                            nb.g.g(obj34, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA15 = hb.a.l0(gVar2.d(str15, (j) obj34));
                            } catch (Throwable th15) {
                                listA15 = nb.g.a(th15);
                            }
                            dVar.reply(listA15);
                            break;
                    }
                }
            });
        } else {
            eVar2.setMessageHandler(null);
        }
        ed.e eVar3 = new ed.e(iVar, defpackage.e.i("dev.flutter.pigeon.shared_preferences_android.SharedPreferencesAsyncApi.setInt", strConcat), a(), hVarB);
        if (gVar != null) {
            final int i12 = 7;
            eVar3.setMessageHandler(new ed.c() { // from class: io.flutter.plugins.sharedpreferences.e
                @Override // ed.c
                public final void onMessage(Object obj, ed.d dVar) {
                    List listA;
                    List listA2;
                    List listA3;
                    List listA4;
                    List listA5;
                    List listA6;
                    List listA7;
                    List listA8;
                    List listA9;
                    List listA10;
                    List listA11;
                    List listA12;
                    List listA13;
                    List listA14;
                    List listA15;
                    int i112 = i12;
                    g gVar2 = gVar;
                    switch (i112) {
                        case 0:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list = (List) obj;
                            Object obj2 = list.get(0);
                            nb.g.g(obj2, "null cannot be cast to non-null type kotlin.String");
                            String str2 = (String) obj2;
                            Object obj3 = list.get(1);
                            nb.g.g(obj3, "null cannot be cast to non-null type kotlin.Boolean");
                            boolean zBooleanValue = ((Boolean) obj3).booleanValue();
                            Object obj4 = list.get(2);
                            nb.g.g(obj4, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.e(str2, zBooleanValue, (j) obj4);
                                listA = hb.a.l0(null);
                            } catch (Throwable th) {
                                listA = nb.g.a(th);
                            }
                            dVar.reply(listA);
                            break;
                        case 1:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list2 = (List) obj;
                            Object obj5 = list2.get(0);
                            nb.g.g(obj5, "null cannot be cast to non-null type kotlin.String");
                            String str3 = (String) obj5;
                            Object obj6 = list2.get(1);
                            nb.g.g(obj6, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA2 = hb.a.l0(gVar2.f(str3, (j) obj6));
                            } catch (Throwable th2) {
                                listA2 = nb.g.a(th2);
                            }
                            dVar.reply(listA2);
                            break;
                        case 2:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list3 = (List) obj;
                            Object obj7 = list3.get(0);
                            nb.g.g(obj7, "null cannot be cast to non-null type kotlin.String");
                            String str4 = (String) obj7;
                            Object obj8 = list3.get(1);
                            nb.g.g(obj8, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA3 = hb.a.l0(gVar2.h(str4, (j) obj8));
                            } catch (Throwable th3) {
                                listA3 = nb.g.a(th3);
                            }
                            dVar.reply(listA3);
                            break;
                        case 3:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list4 = (List) obj;
                            List list5 = (List) list4.get(0);
                            Object obj9 = list4.get(1);
                            nb.g.g(obj9, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.o(list5, (j) obj9);
                                listA4 = hb.a.l0(null);
                            } catch (Throwable th4) {
                                listA4 = nb.g.a(th4);
                            }
                            dVar.reply(listA4);
                            break;
                        case 4:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list6 = (List) obj;
                            List list7 = (List) list6.get(0);
                            Object obj10 = list6.get(1);
                            nb.g.g(obj10, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA5 = hb.a.l0(gVar2.b(list7, (j) obj10));
                            } catch (Throwable th5) {
                                listA5 = nb.g.a(th5);
                            }
                            dVar.reply(listA5);
                            break;
                        case 5:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list8 = (List) obj;
                            List list9 = (List) list8.get(0);
                            Object obj11 = list8.get(1);
                            nb.g.g(obj11, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA6 = hb.a.l0(gVar2.c(list9, (j) obj11));
                            } catch (Throwable th6) {
                                listA6 = nb.g.a(th6);
                            }
                            dVar.reply(listA6);
                            break;
                        case 6:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list10 = (List) obj;
                            Object obj12 = list10.get(0);
                            nb.g.g(obj12, "null cannot be cast to non-null type kotlin.String");
                            String str5 = (String) obj12;
                            Object obj13 = list10.get(1);
                            nb.g.g(obj13, "null cannot be cast to non-null type kotlin.String");
                            String str6 = (String) obj13;
                            Object obj14 = list10.get(2);
                            nb.g.g(obj14, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.i(str5, str6, (j) obj14);
                                listA7 = hb.a.l0(null);
                            } catch (Throwable th7) {
                                listA7 = nb.g.a(th7);
                            }
                            dVar.reply(listA7);
                            break;
                        case 7:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list11 = (List) obj;
                            Object obj15 = list11.get(0);
                            nb.g.g(obj15, "null cannot be cast to non-null type kotlin.String");
                            String str7 = (String) obj15;
                            Object obj16 = list11.get(1);
                            nb.g.g(obj16, "null cannot be cast to non-null type kotlin.Long");
                            long jLongValue = ((Long) obj16).longValue();
                            Object obj17 = list11.get(2);
                            nb.g.g(obj17, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.l(str7, jLongValue, (j) obj17);
                                listA8 = hb.a.l0(null);
                            } catch (Throwable th8) {
                                listA8 = nb.g.a(th8);
                            }
                            dVar.reply(listA8);
                            break;
                        case 8:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list12 = (List) obj;
                            Object obj18 = list12.get(0);
                            nb.g.g(obj18, "null cannot be cast to non-null type kotlin.String");
                            String str8 = (String) obj18;
                            Object obj19 = list12.get(1);
                            nb.g.g(obj19, "null cannot be cast to non-null type kotlin.Double");
                            double dDoubleValue = ((Double) obj19).doubleValue();
                            Object obj20 = list12.get(2);
                            nb.g.g(obj20, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.m(str8, dDoubleValue, (j) obj20);
                                listA9 = hb.a.l0(null);
                            } catch (Throwable th9) {
                                listA9 = nb.g.a(th9);
                            }
                            dVar.reply(listA9);
                            break;
                        case 9:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list13 = (List) obj;
                            Object obj21 = list13.get(0);
                            nb.g.g(obj21, "null cannot be cast to non-null type kotlin.String");
                            String str9 = (String) obj21;
                            Object obj22 = list13.get(1);
                            nb.g.g(obj22, "null cannot be cast to non-null type kotlin.String");
                            String str10 = (String) obj22;
                            Object obj23 = list13.get(2);
                            nb.g.g(obj23, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.n(str9, str10, (j) obj23);
                                listA10 = hb.a.l0(null);
                            } catch (Throwable th10) {
                                listA10 = nb.g.a(th10);
                            }
                            dVar.reply(listA10);
                            break;
                        case 10:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list14 = (List) obj;
                            Object obj24 = list14.get(0);
                            nb.g.g(obj24, "null cannot be cast to non-null type kotlin.String");
                            String str11 = (String) obj24;
                            Object obj25 = list14.get(1);
                            nb.g.g(obj25, "null cannot be cast to non-null type kotlin.collections.List<kotlin.String>");
                            List list15 = (List) obj25;
                            Object obj26 = list14.get(2);
                            nb.g.g(obj26, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.a(str11, list15, (j) obj26);
                                listA11 = hb.a.l0(null);
                            } catch (Throwable th11) {
                                listA11 = nb.g.a(th11);
                            }
                            dVar.reply(listA11);
                            break;
                        case 11:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list16 = (List) obj;
                            Object obj27 = list16.get(0);
                            nb.g.g(obj27, "null cannot be cast to non-null type kotlin.String");
                            String str12 = (String) obj27;
                            Object obj28 = list16.get(1);
                            nb.g.g(obj28, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA12 = hb.a.l0(gVar2.k(str12, (j) obj28));
                            } catch (Throwable th12) {
                                listA12 = nb.g.a(th12);
                            }
                            dVar.reply(listA12);
                            break;
                        case 12:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list17 = (List) obj;
                            Object obj29 = list17.get(0);
                            nb.g.g(obj29, "null cannot be cast to non-null type kotlin.String");
                            String str13 = (String) obj29;
                            Object obj30 = list17.get(1);
                            nb.g.g(obj30, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA13 = hb.a.l0(gVar2.j(str13, (j) obj30));
                            } catch (Throwable th13) {
                                listA13 = nb.g.a(th13);
                            }
                            dVar.reply(listA13);
                            break;
                        case 13:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list18 = (List) obj;
                            Object obj31 = list18.get(0);
                            nb.g.g(obj31, "null cannot be cast to non-null type kotlin.String");
                            String str14 = (String) obj31;
                            Object obj32 = list18.get(1);
                            nb.g.g(obj32, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA14 = hb.a.l0(gVar2.g(str14, (j) obj32));
                            } catch (Throwable th14) {
                                listA14 = nb.g.a(th14);
                            }
                            dVar.reply(listA14);
                            break;
                        default:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list19 = (List) obj;
                            Object obj33 = list19.get(0);
                            nb.g.g(obj33, "null cannot be cast to non-null type kotlin.String");
                            String str15 = (String) obj33;
                            Object obj34 = list19.get(1);
                            nb.g.g(obj34, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA15 = hb.a.l0(gVar2.d(str15, (j) obj34));
                            } catch (Throwable th15) {
                                listA15 = nb.g.a(th15);
                            }
                            dVar.reply(listA15);
                            break;
                    }
                }
            });
        } else {
            eVar3.setMessageHandler(null);
        }
        ed.e eVar4 = new ed.e(iVar, defpackage.e.i("dev.flutter.pigeon.shared_preferences_android.SharedPreferencesAsyncApi.setDouble", strConcat), a(), hVarB);
        if (gVar != null) {
            final int i13 = 8;
            eVar4.setMessageHandler(new ed.c() { // from class: io.flutter.plugins.sharedpreferences.e
                @Override // ed.c
                public final void onMessage(Object obj, ed.d dVar) {
                    List listA;
                    List listA2;
                    List listA3;
                    List listA4;
                    List listA5;
                    List listA6;
                    List listA7;
                    List listA8;
                    List listA9;
                    List listA10;
                    List listA11;
                    List listA12;
                    List listA13;
                    List listA14;
                    List listA15;
                    int i112 = i13;
                    g gVar2 = gVar;
                    switch (i112) {
                        case 0:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list = (List) obj;
                            Object obj2 = list.get(0);
                            nb.g.g(obj2, "null cannot be cast to non-null type kotlin.String");
                            String str2 = (String) obj2;
                            Object obj3 = list.get(1);
                            nb.g.g(obj3, "null cannot be cast to non-null type kotlin.Boolean");
                            boolean zBooleanValue = ((Boolean) obj3).booleanValue();
                            Object obj4 = list.get(2);
                            nb.g.g(obj4, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.e(str2, zBooleanValue, (j) obj4);
                                listA = hb.a.l0(null);
                            } catch (Throwable th) {
                                listA = nb.g.a(th);
                            }
                            dVar.reply(listA);
                            break;
                        case 1:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list2 = (List) obj;
                            Object obj5 = list2.get(0);
                            nb.g.g(obj5, "null cannot be cast to non-null type kotlin.String");
                            String str3 = (String) obj5;
                            Object obj6 = list2.get(1);
                            nb.g.g(obj6, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA2 = hb.a.l0(gVar2.f(str3, (j) obj6));
                            } catch (Throwable th2) {
                                listA2 = nb.g.a(th2);
                            }
                            dVar.reply(listA2);
                            break;
                        case 2:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list3 = (List) obj;
                            Object obj7 = list3.get(0);
                            nb.g.g(obj7, "null cannot be cast to non-null type kotlin.String");
                            String str4 = (String) obj7;
                            Object obj8 = list3.get(1);
                            nb.g.g(obj8, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA3 = hb.a.l0(gVar2.h(str4, (j) obj8));
                            } catch (Throwable th3) {
                                listA3 = nb.g.a(th3);
                            }
                            dVar.reply(listA3);
                            break;
                        case 3:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list4 = (List) obj;
                            List list5 = (List) list4.get(0);
                            Object obj9 = list4.get(1);
                            nb.g.g(obj9, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.o(list5, (j) obj9);
                                listA4 = hb.a.l0(null);
                            } catch (Throwable th4) {
                                listA4 = nb.g.a(th4);
                            }
                            dVar.reply(listA4);
                            break;
                        case 4:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list6 = (List) obj;
                            List list7 = (List) list6.get(0);
                            Object obj10 = list6.get(1);
                            nb.g.g(obj10, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA5 = hb.a.l0(gVar2.b(list7, (j) obj10));
                            } catch (Throwable th5) {
                                listA5 = nb.g.a(th5);
                            }
                            dVar.reply(listA5);
                            break;
                        case 5:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list8 = (List) obj;
                            List list9 = (List) list8.get(0);
                            Object obj11 = list8.get(1);
                            nb.g.g(obj11, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA6 = hb.a.l0(gVar2.c(list9, (j) obj11));
                            } catch (Throwable th6) {
                                listA6 = nb.g.a(th6);
                            }
                            dVar.reply(listA6);
                            break;
                        case 6:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list10 = (List) obj;
                            Object obj12 = list10.get(0);
                            nb.g.g(obj12, "null cannot be cast to non-null type kotlin.String");
                            String str5 = (String) obj12;
                            Object obj13 = list10.get(1);
                            nb.g.g(obj13, "null cannot be cast to non-null type kotlin.String");
                            String str6 = (String) obj13;
                            Object obj14 = list10.get(2);
                            nb.g.g(obj14, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.i(str5, str6, (j) obj14);
                                listA7 = hb.a.l0(null);
                            } catch (Throwable th7) {
                                listA7 = nb.g.a(th7);
                            }
                            dVar.reply(listA7);
                            break;
                        case 7:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list11 = (List) obj;
                            Object obj15 = list11.get(0);
                            nb.g.g(obj15, "null cannot be cast to non-null type kotlin.String");
                            String str7 = (String) obj15;
                            Object obj16 = list11.get(1);
                            nb.g.g(obj16, "null cannot be cast to non-null type kotlin.Long");
                            long jLongValue = ((Long) obj16).longValue();
                            Object obj17 = list11.get(2);
                            nb.g.g(obj17, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.l(str7, jLongValue, (j) obj17);
                                listA8 = hb.a.l0(null);
                            } catch (Throwable th8) {
                                listA8 = nb.g.a(th8);
                            }
                            dVar.reply(listA8);
                            break;
                        case 8:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list12 = (List) obj;
                            Object obj18 = list12.get(0);
                            nb.g.g(obj18, "null cannot be cast to non-null type kotlin.String");
                            String str8 = (String) obj18;
                            Object obj19 = list12.get(1);
                            nb.g.g(obj19, "null cannot be cast to non-null type kotlin.Double");
                            double dDoubleValue = ((Double) obj19).doubleValue();
                            Object obj20 = list12.get(2);
                            nb.g.g(obj20, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.m(str8, dDoubleValue, (j) obj20);
                                listA9 = hb.a.l0(null);
                            } catch (Throwable th9) {
                                listA9 = nb.g.a(th9);
                            }
                            dVar.reply(listA9);
                            break;
                        case 9:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list13 = (List) obj;
                            Object obj21 = list13.get(0);
                            nb.g.g(obj21, "null cannot be cast to non-null type kotlin.String");
                            String str9 = (String) obj21;
                            Object obj22 = list13.get(1);
                            nb.g.g(obj22, "null cannot be cast to non-null type kotlin.String");
                            String str10 = (String) obj22;
                            Object obj23 = list13.get(2);
                            nb.g.g(obj23, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.n(str9, str10, (j) obj23);
                                listA10 = hb.a.l0(null);
                            } catch (Throwable th10) {
                                listA10 = nb.g.a(th10);
                            }
                            dVar.reply(listA10);
                            break;
                        case 10:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list14 = (List) obj;
                            Object obj24 = list14.get(0);
                            nb.g.g(obj24, "null cannot be cast to non-null type kotlin.String");
                            String str11 = (String) obj24;
                            Object obj25 = list14.get(1);
                            nb.g.g(obj25, "null cannot be cast to non-null type kotlin.collections.List<kotlin.String>");
                            List list15 = (List) obj25;
                            Object obj26 = list14.get(2);
                            nb.g.g(obj26, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.a(str11, list15, (j) obj26);
                                listA11 = hb.a.l0(null);
                            } catch (Throwable th11) {
                                listA11 = nb.g.a(th11);
                            }
                            dVar.reply(listA11);
                            break;
                        case 11:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list16 = (List) obj;
                            Object obj27 = list16.get(0);
                            nb.g.g(obj27, "null cannot be cast to non-null type kotlin.String");
                            String str12 = (String) obj27;
                            Object obj28 = list16.get(1);
                            nb.g.g(obj28, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA12 = hb.a.l0(gVar2.k(str12, (j) obj28));
                            } catch (Throwable th12) {
                                listA12 = nb.g.a(th12);
                            }
                            dVar.reply(listA12);
                            break;
                        case 12:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list17 = (List) obj;
                            Object obj29 = list17.get(0);
                            nb.g.g(obj29, "null cannot be cast to non-null type kotlin.String");
                            String str13 = (String) obj29;
                            Object obj30 = list17.get(1);
                            nb.g.g(obj30, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA13 = hb.a.l0(gVar2.j(str13, (j) obj30));
                            } catch (Throwable th13) {
                                listA13 = nb.g.a(th13);
                            }
                            dVar.reply(listA13);
                            break;
                        case 13:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list18 = (List) obj;
                            Object obj31 = list18.get(0);
                            nb.g.g(obj31, "null cannot be cast to non-null type kotlin.String");
                            String str14 = (String) obj31;
                            Object obj32 = list18.get(1);
                            nb.g.g(obj32, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA14 = hb.a.l0(gVar2.g(str14, (j) obj32));
                            } catch (Throwable th14) {
                                listA14 = nb.g.a(th14);
                            }
                            dVar.reply(listA14);
                            break;
                        default:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list19 = (List) obj;
                            Object obj33 = list19.get(0);
                            nb.g.g(obj33, "null cannot be cast to non-null type kotlin.String");
                            String str15 = (String) obj33;
                            Object obj34 = list19.get(1);
                            nb.g.g(obj34, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA15 = hb.a.l0(gVar2.d(str15, (j) obj34));
                            } catch (Throwable th15) {
                                listA15 = nb.g.a(th15);
                            }
                            dVar.reply(listA15);
                            break;
                    }
                }
            });
        } else {
            eVar4.setMessageHandler(null);
        }
        ed.e eVar5 = new ed.e(iVar, defpackage.e.i("dev.flutter.pigeon.shared_preferences_android.SharedPreferencesAsyncApi.setEncodedStringList", strConcat), a(), hVarB);
        if (gVar != null) {
            final int i14 = 9;
            eVar5.setMessageHandler(new ed.c() { // from class: io.flutter.plugins.sharedpreferences.e
                @Override // ed.c
                public final void onMessage(Object obj, ed.d dVar) {
                    List listA;
                    List listA2;
                    List listA3;
                    List listA4;
                    List listA5;
                    List listA6;
                    List listA7;
                    List listA8;
                    List listA9;
                    List listA10;
                    List listA11;
                    List listA12;
                    List listA13;
                    List listA14;
                    List listA15;
                    int i112 = i14;
                    g gVar2 = gVar;
                    switch (i112) {
                        case 0:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list = (List) obj;
                            Object obj2 = list.get(0);
                            nb.g.g(obj2, "null cannot be cast to non-null type kotlin.String");
                            String str2 = (String) obj2;
                            Object obj3 = list.get(1);
                            nb.g.g(obj3, "null cannot be cast to non-null type kotlin.Boolean");
                            boolean zBooleanValue = ((Boolean) obj3).booleanValue();
                            Object obj4 = list.get(2);
                            nb.g.g(obj4, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.e(str2, zBooleanValue, (j) obj4);
                                listA = hb.a.l0(null);
                            } catch (Throwable th) {
                                listA = nb.g.a(th);
                            }
                            dVar.reply(listA);
                            break;
                        case 1:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list2 = (List) obj;
                            Object obj5 = list2.get(0);
                            nb.g.g(obj5, "null cannot be cast to non-null type kotlin.String");
                            String str3 = (String) obj5;
                            Object obj6 = list2.get(1);
                            nb.g.g(obj6, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA2 = hb.a.l0(gVar2.f(str3, (j) obj6));
                            } catch (Throwable th2) {
                                listA2 = nb.g.a(th2);
                            }
                            dVar.reply(listA2);
                            break;
                        case 2:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list3 = (List) obj;
                            Object obj7 = list3.get(0);
                            nb.g.g(obj7, "null cannot be cast to non-null type kotlin.String");
                            String str4 = (String) obj7;
                            Object obj8 = list3.get(1);
                            nb.g.g(obj8, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA3 = hb.a.l0(gVar2.h(str4, (j) obj8));
                            } catch (Throwable th3) {
                                listA3 = nb.g.a(th3);
                            }
                            dVar.reply(listA3);
                            break;
                        case 3:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list4 = (List) obj;
                            List list5 = (List) list4.get(0);
                            Object obj9 = list4.get(1);
                            nb.g.g(obj9, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.o(list5, (j) obj9);
                                listA4 = hb.a.l0(null);
                            } catch (Throwable th4) {
                                listA4 = nb.g.a(th4);
                            }
                            dVar.reply(listA4);
                            break;
                        case 4:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list6 = (List) obj;
                            List list7 = (List) list6.get(0);
                            Object obj10 = list6.get(1);
                            nb.g.g(obj10, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA5 = hb.a.l0(gVar2.b(list7, (j) obj10));
                            } catch (Throwable th5) {
                                listA5 = nb.g.a(th5);
                            }
                            dVar.reply(listA5);
                            break;
                        case 5:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list8 = (List) obj;
                            List list9 = (List) list8.get(0);
                            Object obj11 = list8.get(1);
                            nb.g.g(obj11, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA6 = hb.a.l0(gVar2.c(list9, (j) obj11));
                            } catch (Throwable th6) {
                                listA6 = nb.g.a(th6);
                            }
                            dVar.reply(listA6);
                            break;
                        case 6:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list10 = (List) obj;
                            Object obj12 = list10.get(0);
                            nb.g.g(obj12, "null cannot be cast to non-null type kotlin.String");
                            String str5 = (String) obj12;
                            Object obj13 = list10.get(1);
                            nb.g.g(obj13, "null cannot be cast to non-null type kotlin.String");
                            String str6 = (String) obj13;
                            Object obj14 = list10.get(2);
                            nb.g.g(obj14, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.i(str5, str6, (j) obj14);
                                listA7 = hb.a.l0(null);
                            } catch (Throwable th7) {
                                listA7 = nb.g.a(th7);
                            }
                            dVar.reply(listA7);
                            break;
                        case 7:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list11 = (List) obj;
                            Object obj15 = list11.get(0);
                            nb.g.g(obj15, "null cannot be cast to non-null type kotlin.String");
                            String str7 = (String) obj15;
                            Object obj16 = list11.get(1);
                            nb.g.g(obj16, "null cannot be cast to non-null type kotlin.Long");
                            long jLongValue = ((Long) obj16).longValue();
                            Object obj17 = list11.get(2);
                            nb.g.g(obj17, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.l(str7, jLongValue, (j) obj17);
                                listA8 = hb.a.l0(null);
                            } catch (Throwable th8) {
                                listA8 = nb.g.a(th8);
                            }
                            dVar.reply(listA8);
                            break;
                        case 8:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list12 = (List) obj;
                            Object obj18 = list12.get(0);
                            nb.g.g(obj18, "null cannot be cast to non-null type kotlin.String");
                            String str8 = (String) obj18;
                            Object obj19 = list12.get(1);
                            nb.g.g(obj19, "null cannot be cast to non-null type kotlin.Double");
                            double dDoubleValue = ((Double) obj19).doubleValue();
                            Object obj20 = list12.get(2);
                            nb.g.g(obj20, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.m(str8, dDoubleValue, (j) obj20);
                                listA9 = hb.a.l0(null);
                            } catch (Throwable th9) {
                                listA9 = nb.g.a(th9);
                            }
                            dVar.reply(listA9);
                            break;
                        case 9:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list13 = (List) obj;
                            Object obj21 = list13.get(0);
                            nb.g.g(obj21, "null cannot be cast to non-null type kotlin.String");
                            String str9 = (String) obj21;
                            Object obj22 = list13.get(1);
                            nb.g.g(obj22, "null cannot be cast to non-null type kotlin.String");
                            String str10 = (String) obj22;
                            Object obj23 = list13.get(2);
                            nb.g.g(obj23, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.n(str9, str10, (j) obj23);
                                listA10 = hb.a.l0(null);
                            } catch (Throwable th10) {
                                listA10 = nb.g.a(th10);
                            }
                            dVar.reply(listA10);
                            break;
                        case 10:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list14 = (List) obj;
                            Object obj24 = list14.get(0);
                            nb.g.g(obj24, "null cannot be cast to non-null type kotlin.String");
                            String str11 = (String) obj24;
                            Object obj25 = list14.get(1);
                            nb.g.g(obj25, "null cannot be cast to non-null type kotlin.collections.List<kotlin.String>");
                            List list15 = (List) obj25;
                            Object obj26 = list14.get(2);
                            nb.g.g(obj26, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.a(str11, list15, (j) obj26);
                                listA11 = hb.a.l0(null);
                            } catch (Throwable th11) {
                                listA11 = nb.g.a(th11);
                            }
                            dVar.reply(listA11);
                            break;
                        case 11:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list16 = (List) obj;
                            Object obj27 = list16.get(0);
                            nb.g.g(obj27, "null cannot be cast to non-null type kotlin.String");
                            String str12 = (String) obj27;
                            Object obj28 = list16.get(1);
                            nb.g.g(obj28, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA12 = hb.a.l0(gVar2.k(str12, (j) obj28));
                            } catch (Throwable th12) {
                                listA12 = nb.g.a(th12);
                            }
                            dVar.reply(listA12);
                            break;
                        case 12:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list17 = (List) obj;
                            Object obj29 = list17.get(0);
                            nb.g.g(obj29, "null cannot be cast to non-null type kotlin.String");
                            String str13 = (String) obj29;
                            Object obj30 = list17.get(1);
                            nb.g.g(obj30, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA13 = hb.a.l0(gVar2.j(str13, (j) obj30));
                            } catch (Throwable th13) {
                                listA13 = nb.g.a(th13);
                            }
                            dVar.reply(listA13);
                            break;
                        case 13:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list18 = (List) obj;
                            Object obj31 = list18.get(0);
                            nb.g.g(obj31, "null cannot be cast to non-null type kotlin.String");
                            String str14 = (String) obj31;
                            Object obj32 = list18.get(1);
                            nb.g.g(obj32, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA14 = hb.a.l0(gVar2.g(str14, (j) obj32));
                            } catch (Throwable th14) {
                                listA14 = nb.g.a(th14);
                            }
                            dVar.reply(listA14);
                            break;
                        default:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list19 = (List) obj;
                            Object obj33 = list19.get(0);
                            nb.g.g(obj33, "null cannot be cast to non-null type kotlin.String");
                            String str15 = (String) obj33;
                            Object obj34 = list19.get(1);
                            nb.g.g(obj34, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA15 = hb.a.l0(gVar2.d(str15, (j) obj34));
                            } catch (Throwable th15) {
                                listA15 = nb.g.a(th15);
                            }
                            dVar.reply(listA15);
                            break;
                    }
                }
            });
        } else {
            eVar5.setMessageHandler(null);
        }
        ed.e eVar6 = new ed.e(iVar, defpackage.e.i("dev.flutter.pigeon.shared_preferences_android.SharedPreferencesAsyncApi.setDeprecatedStringList", strConcat), a(), hVarB);
        if (gVar != null) {
            final int i15 = 10;
            eVar6.setMessageHandler(new ed.c() { // from class: io.flutter.plugins.sharedpreferences.e
                @Override // ed.c
                public final void onMessage(Object obj, ed.d dVar) {
                    List listA;
                    List listA2;
                    List listA3;
                    List listA4;
                    List listA5;
                    List listA6;
                    List listA7;
                    List listA8;
                    List listA9;
                    List listA10;
                    List listA11;
                    List listA12;
                    List listA13;
                    List listA14;
                    List listA15;
                    int i112 = i15;
                    g gVar2 = gVar;
                    switch (i112) {
                        case 0:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list = (List) obj;
                            Object obj2 = list.get(0);
                            nb.g.g(obj2, "null cannot be cast to non-null type kotlin.String");
                            String str2 = (String) obj2;
                            Object obj3 = list.get(1);
                            nb.g.g(obj3, "null cannot be cast to non-null type kotlin.Boolean");
                            boolean zBooleanValue = ((Boolean) obj3).booleanValue();
                            Object obj4 = list.get(2);
                            nb.g.g(obj4, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.e(str2, zBooleanValue, (j) obj4);
                                listA = hb.a.l0(null);
                            } catch (Throwable th) {
                                listA = nb.g.a(th);
                            }
                            dVar.reply(listA);
                            break;
                        case 1:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list2 = (List) obj;
                            Object obj5 = list2.get(0);
                            nb.g.g(obj5, "null cannot be cast to non-null type kotlin.String");
                            String str3 = (String) obj5;
                            Object obj6 = list2.get(1);
                            nb.g.g(obj6, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA2 = hb.a.l0(gVar2.f(str3, (j) obj6));
                            } catch (Throwable th2) {
                                listA2 = nb.g.a(th2);
                            }
                            dVar.reply(listA2);
                            break;
                        case 2:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list3 = (List) obj;
                            Object obj7 = list3.get(0);
                            nb.g.g(obj7, "null cannot be cast to non-null type kotlin.String");
                            String str4 = (String) obj7;
                            Object obj8 = list3.get(1);
                            nb.g.g(obj8, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA3 = hb.a.l0(gVar2.h(str4, (j) obj8));
                            } catch (Throwable th3) {
                                listA3 = nb.g.a(th3);
                            }
                            dVar.reply(listA3);
                            break;
                        case 3:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list4 = (List) obj;
                            List list5 = (List) list4.get(0);
                            Object obj9 = list4.get(1);
                            nb.g.g(obj9, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.o(list5, (j) obj9);
                                listA4 = hb.a.l0(null);
                            } catch (Throwable th4) {
                                listA4 = nb.g.a(th4);
                            }
                            dVar.reply(listA4);
                            break;
                        case 4:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list6 = (List) obj;
                            List list7 = (List) list6.get(0);
                            Object obj10 = list6.get(1);
                            nb.g.g(obj10, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA5 = hb.a.l0(gVar2.b(list7, (j) obj10));
                            } catch (Throwable th5) {
                                listA5 = nb.g.a(th5);
                            }
                            dVar.reply(listA5);
                            break;
                        case 5:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list8 = (List) obj;
                            List list9 = (List) list8.get(0);
                            Object obj11 = list8.get(1);
                            nb.g.g(obj11, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA6 = hb.a.l0(gVar2.c(list9, (j) obj11));
                            } catch (Throwable th6) {
                                listA6 = nb.g.a(th6);
                            }
                            dVar.reply(listA6);
                            break;
                        case 6:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list10 = (List) obj;
                            Object obj12 = list10.get(0);
                            nb.g.g(obj12, "null cannot be cast to non-null type kotlin.String");
                            String str5 = (String) obj12;
                            Object obj13 = list10.get(1);
                            nb.g.g(obj13, "null cannot be cast to non-null type kotlin.String");
                            String str6 = (String) obj13;
                            Object obj14 = list10.get(2);
                            nb.g.g(obj14, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.i(str5, str6, (j) obj14);
                                listA7 = hb.a.l0(null);
                            } catch (Throwable th7) {
                                listA7 = nb.g.a(th7);
                            }
                            dVar.reply(listA7);
                            break;
                        case 7:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list11 = (List) obj;
                            Object obj15 = list11.get(0);
                            nb.g.g(obj15, "null cannot be cast to non-null type kotlin.String");
                            String str7 = (String) obj15;
                            Object obj16 = list11.get(1);
                            nb.g.g(obj16, "null cannot be cast to non-null type kotlin.Long");
                            long jLongValue = ((Long) obj16).longValue();
                            Object obj17 = list11.get(2);
                            nb.g.g(obj17, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.l(str7, jLongValue, (j) obj17);
                                listA8 = hb.a.l0(null);
                            } catch (Throwable th8) {
                                listA8 = nb.g.a(th8);
                            }
                            dVar.reply(listA8);
                            break;
                        case 8:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list12 = (List) obj;
                            Object obj18 = list12.get(0);
                            nb.g.g(obj18, "null cannot be cast to non-null type kotlin.String");
                            String str8 = (String) obj18;
                            Object obj19 = list12.get(1);
                            nb.g.g(obj19, "null cannot be cast to non-null type kotlin.Double");
                            double dDoubleValue = ((Double) obj19).doubleValue();
                            Object obj20 = list12.get(2);
                            nb.g.g(obj20, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.m(str8, dDoubleValue, (j) obj20);
                                listA9 = hb.a.l0(null);
                            } catch (Throwable th9) {
                                listA9 = nb.g.a(th9);
                            }
                            dVar.reply(listA9);
                            break;
                        case 9:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list13 = (List) obj;
                            Object obj21 = list13.get(0);
                            nb.g.g(obj21, "null cannot be cast to non-null type kotlin.String");
                            String str9 = (String) obj21;
                            Object obj22 = list13.get(1);
                            nb.g.g(obj22, "null cannot be cast to non-null type kotlin.String");
                            String str10 = (String) obj22;
                            Object obj23 = list13.get(2);
                            nb.g.g(obj23, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.n(str9, str10, (j) obj23);
                                listA10 = hb.a.l0(null);
                            } catch (Throwable th10) {
                                listA10 = nb.g.a(th10);
                            }
                            dVar.reply(listA10);
                            break;
                        case 10:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list14 = (List) obj;
                            Object obj24 = list14.get(0);
                            nb.g.g(obj24, "null cannot be cast to non-null type kotlin.String");
                            String str11 = (String) obj24;
                            Object obj25 = list14.get(1);
                            nb.g.g(obj25, "null cannot be cast to non-null type kotlin.collections.List<kotlin.String>");
                            List list15 = (List) obj25;
                            Object obj26 = list14.get(2);
                            nb.g.g(obj26, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.a(str11, list15, (j) obj26);
                                listA11 = hb.a.l0(null);
                            } catch (Throwable th11) {
                                listA11 = nb.g.a(th11);
                            }
                            dVar.reply(listA11);
                            break;
                        case 11:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list16 = (List) obj;
                            Object obj27 = list16.get(0);
                            nb.g.g(obj27, "null cannot be cast to non-null type kotlin.String");
                            String str12 = (String) obj27;
                            Object obj28 = list16.get(1);
                            nb.g.g(obj28, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA12 = hb.a.l0(gVar2.k(str12, (j) obj28));
                            } catch (Throwable th12) {
                                listA12 = nb.g.a(th12);
                            }
                            dVar.reply(listA12);
                            break;
                        case 12:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list17 = (List) obj;
                            Object obj29 = list17.get(0);
                            nb.g.g(obj29, "null cannot be cast to non-null type kotlin.String");
                            String str13 = (String) obj29;
                            Object obj30 = list17.get(1);
                            nb.g.g(obj30, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA13 = hb.a.l0(gVar2.j(str13, (j) obj30));
                            } catch (Throwable th13) {
                                listA13 = nb.g.a(th13);
                            }
                            dVar.reply(listA13);
                            break;
                        case 13:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list18 = (List) obj;
                            Object obj31 = list18.get(0);
                            nb.g.g(obj31, "null cannot be cast to non-null type kotlin.String");
                            String str14 = (String) obj31;
                            Object obj32 = list18.get(1);
                            nb.g.g(obj32, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA14 = hb.a.l0(gVar2.g(str14, (j) obj32));
                            } catch (Throwable th14) {
                                listA14 = nb.g.a(th14);
                            }
                            dVar.reply(listA14);
                            break;
                        default:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list19 = (List) obj;
                            Object obj33 = list19.get(0);
                            nb.g.g(obj33, "null cannot be cast to non-null type kotlin.String");
                            String str15 = (String) obj33;
                            Object obj34 = list19.get(1);
                            nb.g.g(obj34, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA15 = hb.a.l0(gVar2.d(str15, (j) obj34));
                            } catch (Throwable th15) {
                                listA15 = nb.g.a(th15);
                            }
                            dVar.reply(listA15);
                            break;
                    }
                }
            });
        } else {
            eVar6.setMessageHandler(null);
        }
        ed.e eVar7 = new ed.e(iVar, defpackage.e.i("dev.flutter.pigeon.shared_preferences_android.SharedPreferencesAsyncApi.getString", strConcat), a(), hVarB);
        if (gVar != null) {
            final int i16 = 11;
            eVar7.setMessageHandler(new ed.c() { // from class: io.flutter.plugins.sharedpreferences.e
                @Override // ed.c
                public final void onMessage(Object obj, ed.d dVar) {
                    List listA;
                    List listA2;
                    List listA3;
                    List listA4;
                    List listA5;
                    List listA6;
                    List listA7;
                    List listA8;
                    List listA9;
                    List listA10;
                    List listA11;
                    List listA12;
                    List listA13;
                    List listA14;
                    List listA15;
                    int i112 = i16;
                    g gVar2 = gVar;
                    switch (i112) {
                        case 0:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list = (List) obj;
                            Object obj2 = list.get(0);
                            nb.g.g(obj2, "null cannot be cast to non-null type kotlin.String");
                            String str2 = (String) obj2;
                            Object obj3 = list.get(1);
                            nb.g.g(obj3, "null cannot be cast to non-null type kotlin.Boolean");
                            boolean zBooleanValue = ((Boolean) obj3).booleanValue();
                            Object obj4 = list.get(2);
                            nb.g.g(obj4, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.e(str2, zBooleanValue, (j) obj4);
                                listA = hb.a.l0(null);
                            } catch (Throwable th) {
                                listA = nb.g.a(th);
                            }
                            dVar.reply(listA);
                            break;
                        case 1:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list2 = (List) obj;
                            Object obj5 = list2.get(0);
                            nb.g.g(obj5, "null cannot be cast to non-null type kotlin.String");
                            String str3 = (String) obj5;
                            Object obj6 = list2.get(1);
                            nb.g.g(obj6, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA2 = hb.a.l0(gVar2.f(str3, (j) obj6));
                            } catch (Throwable th2) {
                                listA2 = nb.g.a(th2);
                            }
                            dVar.reply(listA2);
                            break;
                        case 2:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list3 = (List) obj;
                            Object obj7 = list3.get(0);
                            nb.g.g(obj7, "null cannot be cast to non-null type kotlin.String");
                            String str4 = (String) obj7;
                            Object obj8 = list3.get(1);
                            nb.g.g(obj8, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA3 = hb.a.l0(gVar2.h(str4, (j) obj8));
                            } catch (Throwable th3) {
                                listA3 = nb.g.a(th3);
                            }
                            dVar.reply(listA3);
                            break;
                        case 3:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list4 = (List) obj;
                            List list5 = (List) list4.get(0);
                            Object obj9 = list4.get(1);
                            nb.g.g(obj9, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.o(list5, (j) obj9);
                                listA4 = hb.a.l0(null);
                            } catch (Throwable th4) {
                                listA4 = nb.g.a(th4);
                            }
                            dVar.reply(listA4);
                            break;
                        case 4:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list6 = (List) obj;
                            List list7 = (List) list6.get(0);
                            Object obj10 = list6.get(1);
                            nb.g.g(obj10, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA5 = hb.a.l0(gVar2.b(list7, (j) obj10));
                            } catch (Throwable th5) {
                                listA5 = nb.g.a(th5);
                            }
                            dVar.reply(listA5);
                            break;
                        case 5:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list8 = (List) obj;
                            List list9 = (List) list8.get(0);
                            Object obj11 = list8.get(1);
                            nb.g.g(obj11, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA6 = hb.a.l0(gVar2.c(list9, (j) obj11));
                            } catch (Throwable th6) {
                                listA6 = nb.g.a(th6);
                            }
                            dVar.reply(listA6);
                            break;
                        case 6:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list10 = (List) obj;
                            Object obj12 = list10.get(0);
                            nb.g.g(obj12, "null cannot be cast to non-null type kotlin.String");
                            String str5 = (String) obj12;
                            Object obj13 = list10.get(1);
                            nb.g.g(obj13, "null cannot be cast to non-null type kotlin.String");
                            String str6 = (String) obj13;
                            Object obj14 = list10.get(2);
                            nb.g.g(obj14, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.i(str5, str6, (j) obj14);
                                listA7 = hb.a.l0(null);
                            } catch (Throwable th7) {
                                listA7 = nb.g.a(th7);
                            }
                            dVar.reply(listA7);
                            break;
                        case 7:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list11 = (List) obj;
                            Object obj15 = list11.get(0);
                            nb.g.g(obj15, "null cannot be cast to non-null type kotlin.String");
                            String str7 = (String) obj15;
                            Object obj16 = list11.get(1);
                            nb.g.g(obj16, "null cannot be cast to non-null type kotlin.Long");
                            long jLongValue = ((Long) obj16).longValue();
                            Object obj17 = list11.get(2);
                            nb.g.g(obj17, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.l(str7, jLongValue, (j) obj17);
                                listA8 = hb.a.l0(null);
                            } catch (Throwable th8) {
                                listA8 = nb.g.a(th8);
                            }
                            dVar.reply(listA8);
                            break;
                        case 8:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list12 = (List) obj;
                            Object obj18 = list12.get(0);
                            nb.g.g(obj18, "null cannot be cast to non-null type kotlin.String");
                            String str8 = (String) obj18;
                            Object obj19 = list12.get(1);
                            nb.g.g(obj19, "null cannot be cast to non-null type kotlin.Double");
                            double dDoubleValue = ((Double) obj19).doubleValue();
                            Object obj20 = list12.get(2);
                            nb.g.g(obj20, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.m(str8, dDoubleValue, (j) obj20);
                                listA9 = hb.a.l0(null);
                            } catch (Throwable th9) {
                                listA9 = nb.g.a(th9);
                            }
                            dVar.reply(listA9);
                            break;
                        case 9:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list13 = (List) obj;
                            Object obj21 = list13.get(0);
                            nb.g.g(obj21, "null cannot be cast to non-null type kotlin.String");
                            String str9 = (String) obj21;
                            Object obj22 = list13.get(1);
                            nb.g.g(obj22, "null cannot be cast to non-null type kotlin.String");
                            String str10 = (String) obj22;
                            Object obj23 = list13.get(2);
                            nb.g.g(obj23, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.n(str9, str10, (j) obj23);
                                listA10 = hb.a.l0(null);
                            } catch (Throwable th10) {
                                listA10 = nb.g.a(th10);
                            }
                            dVar.reply(listA10);
                            break;
                        case 10:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list14 = (List) obj;
                            Object obj24 = list14.get(0);
                            nb.g.g(obj24, "null cannot be cast to non-null type kotlin.String");
                            String str11 = (String) obj24;
                            Object obj25 = list14.get(1);
                            nb.g.g(obj25, "null cannot be cast to non-null type kotlin.collections.List<kotlin.String>");
                            List list15 = (List) obj25;
                            Object obj26 = list14.get(2);
                            nb.g.g(obj26, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.a(str11, list15, (j) obj26);
                                listA11 = hb.a.l0(null);
                            } catch (Throwable th11) {
                                listA11 = nb.g.a(th11);
                            }
                            dVar.reply(listA11);
                            break;
                        case 11:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list16 = (List) obj;
                            Object obj27 = list16.get(0);
                            nb.g.g(obj27, "null cannot be cast to non-null type kotlin.String");
                            String str12 = (String) obj27;
                            Object obj28 = list16.get(1);
                            nb.g.g(obj28, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA12 = hb.a.l0(gVar2.k(str12, (j) obj28));
                            } catch (Throwable th12) {
                                listA12 = nb.g.a(th12);
                            }
                            dVar.reply(listA12);
                            break;
                        case 12:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list17 = (List) obj;
                            Object obj29 = list17.get(0);
                            nb.g.g(obj29, "null cannot be cast to non-null type kotlin.String");
                            String str13 = (String) obj29;
                            Object obj30 = list17.get(1);
                            nb.g.g(obj30, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA13 = hb.a.l0(gVar2.j(str13, (j) obj30));
                            } catch (Throwable th13) {
                                listA13 = nb.g.a(th13);
                            }
                            dVar.reply(listA13);
                            break;
                        case 13:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list18 = (List) obj;
                            Object obj31 = list18.get(0);
                            nb.g.g(obj31, "null cannot be cast to non-null type kotlin.String");
                            String str14 = (String) obj31;
                            Object obj32 = list18.get(1);
                            nb.g.g(obj32, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA14 = hb.a.l0(gVar2.g(str14, (j) obj32));
                            } catch (Throwable th14) {
                                listA14 = nb.g.a(th14);
                            }
                            dVar.reply(listA14);
                            break;
                        default:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list19 = (List) obj;
                            Object obj33 = list19.get(0);
                            nb.g.g(obj33, "null cannot be cast to non-null type kotlin.String");
                            String str15 = (String) obj33;
                            Object obj34 = list19.get(1);
                            nb.g.g(obj34, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA15 = hb.a.l0(gVar2.d(str15, (j) obj34));
                            } catch (Throwable th15) {
                                listA15 = nb.g.a(th15);
                            }
                            dVar.reply(listA15);
                            break;
                    }
                }
            });
        } else {
            eVar7.setMessageHandler(null);
        }
        ed.e eVar8 = new ed.e(iVar, defpackage.e.i("dev.flutter.pigeon.shared_preferences_android.SharedPreferencesAsyncApi.getBool", strConcat), a(), hVarB);
        if (gVar != null) {
            final int i17 = 12;
            eVar8.setMessageHandler(new ed.c() { // from class: io.flutter.plugins.sharedpreferences.e
                @Override // ed.c
                public final void onMessage(Object obj, ed.d dVar) {
                    List listA;
                    List listA2;
                    List listA3;
                    List listA4;
                    List listA5;
                    List listA6;
                    List listA7;
                    List listA8;
                    List listA9;
                    List listA10;
                    List listA11;
                    List listA12;
                    List listA13;
                    List listA14;
                    List listA15;
                    int i112 = i17;
                    g gVar2 = gVar;
                    switch (i112) {
                        case 0:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list = (List) obj;
                            Object obj2 = list.get(0);
                            nb.g.g(obj2, "null cannot be cast to non-null type kotlin.String");
                            String str2 = (String) obj2;
                            Object obj3 = list.get(1);
                            nb.g.g(obj3, "null cannot be cast to non-null type kotlin.Boolean");
                            boolean zBooleanValue = ((Boolean) obj3).booleanValue();
                            Object obj4 = list.get(2);
                            nb.g.g(obj4, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.e(str2, zBooleanValue, (j) obj4);
                                listA = hb.a.l0(null);
                            } catch (Throwable th) {
                                listA = nb.g.a(th);
                            }
                            dVar.reply(listA);
                            break;
                        case 1:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list2 = (List) obj;
                            Object obj5 = list2.get(0);
                            nb.g.g(obj5, "null cannot be cast to non-null type kotlin.String");
                            String str3 = (String) obj5;
                            Object obj6 = list2.get(1);
                            nb.g.g(obj6, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA2 = hb.a.l0(gVar2.f(str3, (j) obj6));
                            } catch (Throwable th2) {
                                listA2 = nb.g.a(th2);
                            }
                            dVar.reply(listA2);
                            break;
                        case 2:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list3 = (List) obj;
                            Object obj7 = list3.get(0);
                            nb.g.g(obj7, "null cannot be cast to non-null type kotlin.String");
                            String str4 = (String) obj7;
                            Object obj8 = list3.get(1);
                            nb.g.g(obj8, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA3 = hb.a.l0(gVar2.h(str4, (j) obj8));
                            } catch (Throwable th3) {
                                listA3 = nb.g.a(th3);
                            }
                            dVar.reply(listA3);
                            break;
                        case 3:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list4 = (List) obj;
                            List list5 = (List) list4.get(0);
                            Object obj9 = list4.get(1);
                            nb.g.g(obj9, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.o(list5, (j) obj9);
                                listA4 = hb.a.l0(null);
                            } catch (Throwable th4) {
                                listA4 = nb.g.a(th4);
                            }
                            dVar.reply(listA4);
                            break;
                        case 4:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list6 = (List) obj;
                            List list7 = (List) list6.get(0);
                            Object obj10 = list6.get(1);
                            nb.g.g(obj10, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA5 = hb.a.l0(gVar2.b(list7, (j) obj10));
                            } catch (Throwable th5) {
                                listA5 = nb.g.a(th5);
                            }
                            dVar.reply(listA5);
                            break;
                        case 5:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list8 = (List) obj;
                            List list9 = (List) list8.get(0);
                            Object obj11 = list8.get(1);
                            nb.g.g(obj11, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA6 = hb.a.l0(gVar2.c(list9, (j) obj11));
                            } catch (Throwable th6) {
                                listA6 = nb.g.a(th6);
                            }
                            dVar.reply(listA6);
                            break;
                        case 6:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list10 = (List) obj;
                            Object obj12 = list10.get(0);
                            nb.g.g(obj12, "null cannot be cast to non-null type kotlin.String");
                            String str5 = (String) obj12;
                            Object obj13 = list10.get(1);
                            nb.g.g(obj13, "null cannot be cast to non-null type kotlin.String");
                            String str6 = (String) obj13;
                            Object obj14 = list10.get(2);
                            nb.g.g(obj14, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.i(str5, str6, (j) obj14);
                                listA7 = hb.a.l0(null);
                            } catch (Throwable th7) {
                                listA7 = nb.g.a(th7);
                            }
                            dVar.reply(listA7);
                            break;
                        case 7:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list11 = (List) obj;
                            Object obj15 = list11.get(0);
                            nb.g.g(obj15, "null cannot be cast to non-null type kotlin.String");
                            String str7 = (String) obj15;
                            Object obj16 = list11.get(1);
                            nb.g.g(obj16, "null cannot be cast to non-null type kotlin.Long");
                            long jLongValue = ((Long) obj16).longValue();
                            Object obj17 = list11.get(2);
                            nb.g.g(obj17, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.l(str7, jLongValue, (j) obj17);
                                listA8 = hb.a.l0(null);
                            } catch (Throwable th8) {
                                listA8 = nb.g.a(th8);
                            }
                            dVar.reply(listA8);
                            break;
                        case 8:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list12 = (List) obj;
                            Object obj18 = list12.get(0);
                            nb.g.g(obj18, "null cannot be cast to non-null type kotlin.String");
                            String str8 = (String) obj18;
                            Object obj19 = list12.get(1);
                            nb.g.g(obj19, "null cannot be cast to non-null type kotlin.Double");
                            double dDoubleValue = ((Double) obj19).doubleValue();
                            Object obj20 = list12.get(2);
                            nb.g.g(obj20, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.m(str8, dDoubleValue, (j) obj20);
                                listA9 = hb.a.l0(null);
                            } catch (Throwable th9) {
                                listA9 = nb.g.a(th9);
                            }
                            dVar.reply(listA9);
                            break;
                        case 9:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list13 = (List) obj;
                            Object obj21 = list13.get(0);
                            nb.g.g(obj21, "null cannot be cast to non-null type kotlin.String");
                            String str9 = (String) obj21;
                            Object obj22 = list13.get(1);
                            nb.g.g(obj22, "null cannot be cast to non-null type kotlin.String");
                            String str10 = (String) obj22;
                            Object obj23 = list13.get(2);
                            nb.g.g(obj23, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.n(str9, str10, (j) obj23);
                                listA10 = hb.a.l0(null);
                            } catch (Throwable th10) {
                                listA10 = nb.g.a(th10);
                            }
                            dVar.reply(listA10);
                            break;
                        case 10:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list14 = (List) obj;
                            Object obj24 = list14.get(0);
                            nb.g.g(obj24, "null cannot be cast to non-null type kotlin.String");
                            String str11 = (String) obj24;
                            Object obj25 = list14.get(1);
                            nb.g.g(obj25, "null cannot be cast to non-null type kotlin.collections.List<kotlin.String>");
                            List list15 = (List) obj25;
                            Object obj26 = list14.get(2);
                            nb.g.g(obj26, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.a(str11, list15, (j) obj26);
                                listA11 = hb.a.l0(null);
                            } catch (Throwable th11) {
                                listA11 = nb.g.a(th11);
                            }
                            dVar.reply(listA11);
                            break;
                        case 11:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list16 = (List) obj;
                            Object obj27 = list16.get(0);
                            nb.g.g(obj27, "null cannot be cast to non-null type kotlin.String");
                            String str12 = (String) obj27;
                            Object obj28 = list16.get(1);
                            nb.g.g(obj28, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA12 = hb.a.l0(gVar2.k(str12, (j) obj28));
                            } catch (Throwable th12) {
                                listA12 = nb.g.a(th12);
                            }
                            dVar.reply(listA12);
                            break;
                        case 12:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list17 = (List) obj;
                            Object obj29 = list17.get(0);
                            nb.g.g(obj29, "null cannot be cast to non-null type kotlin.String");
                            String str13 = (String) obj29;
                            Object obj30 = list17.get(1);
                            nb.g.g(obj30, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA13 = hb.a.l0(gVar2.j(str13, (j) obj30));
                            } catch (Throwable th13) {
                                listA13 = nb.g.a(th13);
                            }
                            dVar.reply(listA13);
                            break;
                        case 13:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list18 = (List) obj;
                            Object obj31 = list18.get(0);
                            nb.g.g(obj31, "null cannot be cast to non-null type kotlin.String");
                            String str14 = (String) obj31;
                            Object obj32 = list18.get(1);
                            nb.g.g(obj32, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA14 = hb.a.l0(gVar2.g(str14, (j) obj32));
                            } catch (Throwable th14) {
                                listA14 = nb.g.a(th14);
                            }
                            dVar.reply(listA14);
                            break;
                        default:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list19 = (List) obj;
                            Object obj33 = list19.get(0);
                            nb.g.g(obj33, "null cannot be cast to non-null type kotlin.String");
                            String str15 = (String) obj33;
                            Object obj34 = list19.get(1);
                            nb.g.g(obj34, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA15 = hb.a.l0(gVar2.d(str15, (j) obj34));
                            } catch (Throwable th15) {
                                listA15 = nb.g.a(th15);
                            }
                            dVar.reply(listA15);
                            break;
                    }
                }
            });
        } else {
            eVar8.setMessageHandler(null);
        }
        ed.e eVar9 = new ed.e(iVar, defpackage.e.i("dev.flutter.pigeon.shared_preferences_android.SharedPreferencesAsyncApi.getDouble", strConcat), a(), hVarB);
        if (gVar != null) {
            final int i18 = 13;
            eVar9.setMessageHandler(new ed.c() { // from class: io.flutter.plugins.sharedpreferences.e
                @Override // ed.c
                public final void onMessage(Object obj, ed.d dVar) {
                    List listA;
                    List listA2;
                    List listA3;
                    List listA4;
                    List listA5;
                    List listA6;
                    List listA7;
                    List listA8;
                    List listA9;
                    List listA10;
                    List listA11;
                    List listA12;
                    List listA13;
                    List listA14;
                    List listA15;
                    int i112 = i18;
                    g gVar2 = gVar;
                    switch (i112) {
                        case 0:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list = (List) obj;
                            Object obj2 = list.get(0);
                            nb.g.g(obj2, "null cannot be cast to non-null type kotlin.String");
                            String str2 = (String) obj2;
                            Object obj3 = list.get(1);
                            nb.g.g(obj3, "null cannot be cast to non-null type kotlin.Boolean");
                            boolean zBooleanValue = ((Boolean) obj3).booleanValue();
                            Object obj4 = list.get(2);
                            nb.g.g(obj4, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.e(str2, zBooleanValue, (j) obj4);
                                listA = hb.a.l0(null);
                            } catch (Throwable th) {
                                listA = nb.g.a(th);
                            }
                            dVar.reply(listA);
                            break;
                        case 1:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list2 = (List) obj;
                            Object obj5 = list2.get(0);
                            nb.g.g(obj5, "null cannot be cast to non-null type kotlin.String");
                            String str3 = (String) obj5;
                            Object obj6 = list2.get(1);
                            nb.g.g(obj6, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA2 = hb.a.l0(gVar2.f(str3, (j) obj6));
                            } catch (Throwable th2) {
                                listA2 = nb.g.a(th2);
                            }
                            dVar.reply(listA2);
                            break;
                        case 2:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list3 = (List) obj;
                            Object obj7 = list3.get(0);
                            nb.g.g(obj7, "null cannot be cast to non-null type kotlin.String");
                            String str4 = (String) obj7;
                            Object obj8 = list3.get(1);
                            nb.g.g(obj8, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA3 = hb.a.l0(gVar2.h(str4, (j) obj8));
                            } catch (Throwable th3) {
                                listA3 = nb.g.a(th3);
                            }
                            dVar.reply(listA3);
                            break;
                        case 3:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list4 = (List) obj;
                            List list5 = (List) list4.get(0);
                            Object obj9 = list4.get(1);
                            nb.g.g(obj9, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.o(list5, (j) obj9);
                                listA4 = hb.a.l0(null);
                            } catch (Throwable th4) {
                                listA4 = nb.g.a(th4);
                            }
                            dVar.reply(listA4);
                            break;
                        case 4:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list6 = (List) obj;
                            List list7 = (List) list6.get(0);
                            Object obj10 = list6.get(1);
                            nb.g.g(obj10, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA5 = hb.a.l0(gVar2.b(list7, (j) obj10));
                            } catch (Throwable th5) {
                                listA5 = nb.g.a(th5);
                            }
                            dVar.reply(listA5);
                            break;
                        case 5:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list8 = (List) obj;
                            List list9 = (List) list8.get(0);
                            Object obj11 = list8.get(1);
                            nb.g.g(obj11, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA6 = hb.a.l0(gVar2.c(list9, (j) obj11));
                            } catch (Throwable th6) {
                                listA6 = nb.g.a(th6);
                            }
                            dVar.reply(listA6);
                            break;
                        case 6:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list10 = (List) obj;
                            Object obj12 = list10.get(0);
                            nb.g.g(obj12, "null cannot be cast to non-null type kotlin.String");
                            String str5 = (String) obj12;
                            Object obj13 = list10.get(1);
                            nb.g.g(obj13, "null cannot be cast to non-null type kotlin.String");
                            String str6 = (String) obj13;
                            Object obj14 = list10.get(2);
                            nb.g.g(obj14, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.i(str5, str6, (j) obj14);
                                listA7 = hb.a.l0(null);
                            } catch (Throwable th7) {
                                listA7 = nb.g.a(th7);
                            }
                            dVar.reply(listA7);
                            break;
                        case 7:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list11 = (List) obj;
                            Object obj15 = list11.get(0);
                            nb.g.g(obj15, "null cannot be cast to non-null type kotlin.String");
                            String str7 = (String) obj15;
                            Object obj16 = list11.get(1);
                            nb.g.g(obj16, "null cannot be cast to non-null type kotlin.Long");
                            long jLongValue = ((Long) obj16).longValue();
                            Object obj17 = list11.get(2);
                            nb.g.g(obj17, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.l(str7, jLongValue, (j) obj17);
                                listA8 = hb.a.l0(null);
                            } catch (Throwable th8) {
                                listA8 = nb.g.a(th8);
                            }
                            dVar.reply(listA8);
                            break;
                        case 8:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list12 = (List) obj;
                            Object obj18 = list12.get(0);
                            nb.g.g(obj18, "null cannot be cast to non-null type kotlin.String");
                            String str8 = (String) obj18;
                            Object obj19 = list12.get(1);
                            nb.g.g(obj19, "null cannot be cast to non-null type kotlin.Double");
                            double dDoubleValue = ((Double) obj19).doubleValue();
                            Object obj20 = list12.get(2);
                            nb.g.g(obj20, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.m(str8, dDoubleValue, (j) obj20);
                                listA9 = hb.a.l0(null);
                            } catch (Throwable th9) {
                                listA9 = nb.g.a(th9);
                            }
                            dVar.reply(listA9);
                            break;
                        case 9:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list13 = (List) obj;
                            Object obj21 = list13.get(0);
                            nb.g.g(obj21, "null cannot be cast to non-null type kotlin.String");
                            String str9 = (String) obj21;
                            Object obj22 = list13.get(1);
                            nb.g.g(obj22, "null cannot be cast to non-null type kotlin.String");
                            String str10 = (String) obj22;
                            Object obj23 = list13.get(2);
                            nb.g.g(obj23, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.n(str9, str10, (j) obj23);
                                listA10 = hb.a.l0(null);
                            } catch (Throwable th10) {
                                listA10 = nb.g.a(th10);
                            }
                            dVar.reply(listA10);
                            break;
                        case 10:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list14 = (List) obj;
                            Object obj24 = list14.get(0);
                            nb.g.g(obj24, "null cannot be cast to non-null type kotlin.String");
                            String str11 = (String) obj24;
                            Object obj25 = list14.get(1);
                            nb.g.g(obj25, "null cannot be cast to non-null type kotlin.collections.List<kotlin.String>");
                            List list15 = (List) obj25;
                            Object obj26 = list14.get(2);
                            nb.g.g(obj26, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.a(str11, list15, (j) obj26);
                                listA11 = hb.a.l0(null);
                            } catch (Throwable th11) {
                                listA11 = nb.g.a(th11);
                            }
                            dVar.reply(listA11);
                            break;
                        case 11:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list16 = (List) obj;
                            Object obj27 = list16.get(0);
                            nb.g.g(obj27, "null cannot be cast to non-null type kotlin.String");
                            String str12 = (String) obj27;
                            Object obj28 = list16.get(1);
                            nb.g.g(obj28, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA12 = hb.a.l0(gVar2.k(str12, (j) obj28));
                            } catch (Throwable th12) {
                                listA12 = nb.g.a(th12);
                            }
                            dVar.reply(listA12);
                            break;
                        case 12:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list17 = (List) obj;
                            Object obj29 = list17.get(0);
                            nb.g.g(obj29, "null cannot be cast to non-null type kotlin.String");
                            String str13 = (String) obj29;
                            Object obj30 = list17.get(1);
                            nb.g.g(obj30, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA13 = hb.a.l0(gVar2.j(str13, (j) obj30));
                            } catch (Throwable th13) {
                                listA13 = nb.g.a(th13);
                            }
                            dVar.reply(listA13);
                            break;
                        case 13:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list18 = (List) obj;
                            Object obj31 = list18.get(0);
                            nb.g.g(obj31, "null cannot be cast to non-null type kotlin.String");
                            String str14 = (String) obj31;
                            Object obj32 = list18.get(1);
                            nb.g.g(obj32, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA14 = hb.a.l0(gVar2.g(str14, (j) obj32));
                            } catch (Throwable th14) {
                                listA14 = nb.g.a(th14);
                            }
                            dVar.reply(listA14);
                            break;
                        default:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list19 = (List) obj;
                            Object obj33 = list19.get(0);
                            nb.g.g(obj33, "null cannot be cast to non-null type kotlin.String");
                            String str15 = (String) obj33;
                            Object obj34 = list19.get(1);
                            nb.g.g(obj34, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA15 = hb.a.l0(gVar2.d(str15, (j) obj34));
                            } catch (Throwable th15) {
                                listA15 = nb.g.a(th15);
                            }
                            dVar.reply(listA15);
                            break;
                    }
                }
            });
        } else {
            eVar9.setMessageHandler(null);
        }
        ed.e eVar10 = new ed.e(iVar, defpackage.e.i("dev.flutter.pigeon.shared_preferences_android.SharedPreferencesAsyncApi.getInt", strConcat), a(), hVarB);
        if (gVar != null) {
            final int i19 = 14;
            eVar10.setMessageHandler(new ed.c() { // from class: io.flutter.plugins.sharedpreferences.e
                @Override // ed.c
                public final void onMessage(Object obj, ed.d dVar) {
                    List listA;
                    List listA2;
                    List listA3;
                    List listA4;
                    List listA5;
                    List listA6;
                    List listA7;
                    List listA8;
                    List listA9;
                    List listA10;
                    List listA11;
                    List listA12;
                    List listA13;
                    List listA14;
                    List listA15;
                    int i112 = i19;
                    g gVar2 = gVar;
                    switch (i112) {
                        case 0:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list = (List) obj;
                            Object obj2 = list.get(0);
                            nb.g.g(obj2, "null cannot be cast to non-null type kotlin.String");
                            String str2 = (String) obj2;
                            Object obj3 = list.get(1);
                            nb.g.g(obj3, "null cannot be cast to non-null type kotlin.Boolean");
                            boolean zBooleanValue = ((Boolean) obj3).booleanValue();
                            Object obj4 = list.get(2);
                            nb.g.g(obj4, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.e(str2, zBooleanValue, (j) obj4);
                                listA = hb.a.l0(null);
                            } catch (Throwable th) {
                                listA = nb.g.a(th);
                            }
                            dVar.reply(listA);
                            break;
                        case 1:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list2 = (List) obj;
                            Object obj5 = list2.get(0);
                            nb.g.g(obj5, "null cannot be cast to non-null type kotlin.String");
                            String str3 = (String) obj5;
                            Object obj6 = list2.get(1);
                            nb.g.g(obj6, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA2 = hb.a.l0(gVar2.f(str3, (j) obj6));
                            } catch (Throwable th2) {
                                listA2 = nb.g.a(th2);
                            }
                            dVar.reply(listA2);
                            break;
                        case 2:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list3 = (List) obj;
                            Object obj7 = list3.get(0);
                            nb.g.g(obj7, "null cannot be cast to non-null type kotlin.String");
                            String str4 = (String) obj7;
                            Object obj8 = list3.get(1);
                            nb.g.g(obj8, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA3 = hb.a.l0(gVar2.h(str4, (j) obj8));
                            } catch (Throwable th3) {
                                listA3 = nb.g.a(th3);
                            }
                            dVar.reply(listA3);
                            break;
                        case 3:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list4 = (List) obj;
                            List list5 = (List) list4.get(0);
                            Object obj9 = list4.get(1);
                            nb.g.g(obj9, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.o(list5, (j) obj9);
                                listA4 = hb.a.l0(null);
                            } catch (Throwable th4) {
                                listA4 = nb.g.a(th4);
                            }
                            dVar.reply(listA4);
                            break;
                        case 4:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list6 = (List) obj;
                            List list7 = (List) list6.get(0);
                            Object obj10 = list6.get(1);
                            nb.g.g(obj10, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA5 = hb.a.l0(gVar2.b(list7, (j) obj10));
                            } catch (Throwable th5) {
                                listA5 = nb.g.a(th5);
                            }
                            dVar.reply(listA5);
                            break;
                        case 5:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list8 = (List) obj;
                            List list9 = (List) list8.get(0);
                            Object obj11 = list8.get(1);
                            nb.g.g(obj11, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA6 = hb.a.l0(gVar2.c(list9, (j) obj11));
                            } catch (Throwable th6) {
                                listA6 = nb.g.a(th6);
                            }
                            dVar.reply(listA6);
                            break;
                        case 6:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list10 = (List) obj;
                            Object obj12 = list10.get(0);
                            nb.g.g(obj12, "null cannot be cast to non-null type kotlin.String");
                            String str5 = (String) obj12;
                            Object obj13 = list10.get(1);
                            nb.g.g(obj13, "null cannot be cast to non-null type kotlin.String");
                            String str6 = (String) obj13;
                            Object obj14 = list10.get(2);
                            nb.g.g(obj14, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.i(str5, str6, (j) obj14);
                                listA7 = hb.a.l0(null);
                            } catch (Throwable th7) {
                                listA7 = nb.g.a(th7);
                            }
                            dVar.reply(listA7);
                            break;
                        case 7:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list11 = (List) obj;
                            Object obj15 = list11.get(0);
                            nb.g.g(obj15, "null cannot be cast to non-null type kotlin.String");
                            String str7 = (String) obj15;
                            Object obj16 = list11.get(1);
                            nb.g.g(obj16, "null cannot be cast to non-null type kotlin.Long");
                            long jLongValue = ((Long) obj16).longValue();
                            Object obj17 = list11.get(2);
                            nb.g.g(obj17, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.l(str7, jLongValue, (j) obj17);
                                listA8 = hb.a.l0(null);
                            } catch (Throwable th8) {
                                listA8 = nb.g.a(th8);
                            }
                            dVar.reply(listA8);
                            break;
                        case 8:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list12 = (List) obj;
                            Object obj18 = list12.get(0);
                            nb.g.g(obj18, "null cannot be cast to non-null type kotlin.String");
                            String str8 = (String) obj18;
                            Object obj19 = list12.get(1);
                            nb.g.g(obj19, "null cannot be cast to non-null type kotlin.Double");
                            double dDoubleValue = ((Double) obj19).doubleValue();
                            Object obj20 = list12.get(2);
                            nb.g.g(obj20, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.m(str8, dDoubleValue, (j) obj20);
                                listA9 = hb.a.l0(null);
                            } catch (Throwable th9) {
                                listA9 = nb.g.a(th9);
                            }
                            dVar.reply(listA9);
                            break;
                        case 9:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list13 = (List) obj;
                            Object obj21 = list13.get(0);
                            nb.g.g(obj21, "null cannot be cast to non-null type kotlin.String");
                            String str9 = (String) obj21;
                            Object obj22 = list13.get(1);
                            nb.g.g(obj22, "null cannot be cast to non-null type kotlin.String");
                            String str10 = (String) obj22;
                            Object obj23 = list13.get(2);
                            nb.g.g(obj23, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.n(str9, str10, (j) obj23);
                                listA10 = hb.a.l0(null);
                            } catch (Throwable th10) {
                                listA10 = nb.g.a(th10);
                            }
                            dVar.reply(listA10);
                            break;
                        case 10:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list14 = (List) obj;
                            Object obj24 = list14.get(0);
                            nb.g.g(obj24, "null cannot be cast to non-null type kotlin.String");
                            String str11 = (String) obj24;
                            Object obj25 = list14.get(1);
                            nb.g.g(obj25, "null cannot be cast to non-null type kotlin.collections.List<kotlin.String>");
                            List list15 = (List) obj25;
                            Object obj26 = list14.get(2);
                            nb.g.g(obj26, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.a(str11, list15, (j) obj26);
                                listA11 = hb.a.l0(null);
                            } catch (Throwable th11) {
                                listA11 = nb.g.a(th11);
                            }
                            dVar.reply(listA11);
                            break;
                        case 11:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list16 = (List) obj;
                            Object obj27 = list16.get(0);
                            nb.g.g(obj27, "null cannot be cast to non-null type kotlin.String");
                            String str12 = (String) obj27;
                            Object obj28 = list16.get(1);
                            nb.g.g(obj28, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA12 = hb.a.l0(gVar2.k(str12, (j) obj28));
                            } catch (Throwable th12) {
                                listA12 = nb.g.a(th12);
                            }
                            dVar.reply(listA12);
                            break;
                        case 12:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list17 = (List) obj;
                            Object obj29 = list17.get(0);
                            nb.g.g(obj29, "null cannot be cast to non-null type kotlin.String");
                            String str13 = (String) obj29;
                            Object obj30 = list17.get(1);
                            nb.g.g(obj30, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA13 = hb.a.l0(gVar2.j(str13, (j) obj30));
                            } catch (Throwable th13) {
                                listA13 = nb.g.a(th13);
                            }
                            dVar.reply(listA13);
                            break;
                        case 13:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list18 = (List) obj;
                            Object obj31 = list18.get(0);
                            nb.g.g(obj31, "null cannot be cast to non-null type kotlin.String");
                            String str14 = (String) obj31;
                            Object obj32 = list18.get(1);
                            nb.g.g(obj32, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA14 = hb.a.l0(gVar2.g(str14, (j) obj32));
                            } catch (Throwable th14) {
                                listA14 = nb.g.a(th14);
                            }
                            dVar.reply(listA14);
                            break;
                        default:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list19 = (List) obj;
                            Object obj33 = list19.get(0);
                            nb.g.g(obj33, "null cannot be cast to non-null type kotlin.String");
                            String str15 = (String) obj33;
                            Object obj34 = list19.get(1);
                            nb.g.g(obj34, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA15 = hb.a.l0(gVar2.d(str15, (j) obj34));
                            } catch (Throwable th15) {
                                listA15 = nb.g.a(th15);
                            }
                            dVar.reply(listA15);
                            break;
                    }
                }
            });
        } else {
            eVar10.setMessageHandler(null);
        }
        ed.e eVar11 = new ed.e(iVar, defpackage.e.i("dev.flutter.pigeon.shared_preferences_android.SharedPreferencesAsyncApi.getPlatformEncodedStringList", strConcat), a(), hVarB);
        if (gVar != null) {
            final int i20 = 1;
            eVar11.setMessageHandler(new ed.c() { // from class: io.flutter.plugins.sharedpreferences.e
                @Override // ed.c
                public final void onMessage(Object obj, ed.d dVar) {
                    List listA;
                    List listA2;
                    List listA3;
                    List listA4;
                    List listA5;
                    List listA6;
                    List listA7;
                    List listA8;
                    List listA9;
                    List listA10;
                    List listA11;
                    List listA12;
                    List listA13;
                    List listA14;
                    List listA15;
                    int i112 = i20;
                    g gVar2 = gVar;
                    switch (i112) {
                        case 0:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list = (List) obj;
                            Object obj2 = list.get(0);
                            nb.g.g(obj2, "null cannot be cast to non-null type kotlin.String");
                            String str2 = (String) obj2;
                            Object obj3 = list.get(1);
                            nb.g.g(obj3, "null cannot be cast to non-null type kotlin.Boolean");
                            boolean zBooleanValue = ((Boolean) obj3).booleanValue();
                            Object obj4 = list.get(2);
                            nb.g.g(obj4, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.e(str2, zBooleanValue, (j) obj4);
                                listA = hb.a.l0(null);
                            } catch (Throwable th) {
                                listA = nb.g.a(th);
                            }
                            dVar.reply(listA);
                            break;
                        case 1:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list2 = (List) obj;
                            Object obj5 = list2.get(0);
                            nb.g.g(obj5, "null cannot be cast to non-null type kotlin.String");
                            String str3 = (String) obj5;
                            Object obj6 = list2.get(1);
                            nb.g.g(obj6, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA2 = hb.a.l0(gVar2.f(str3, (j) obj6));
                            } catch (Throwable th2) {
                                listA2 = nb.g.a(th2);
                            }
                            dVar.reply(listA2);
                            break;
                        case 2:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list3 = (List) obj;
                            Object obj7 = list3.get(0);
                            nb.g.g(obj7, "null cannot be cast to non-null type kotlin.String");
                            String str4 = (String) obj7;
                            Object obj8 = list3.get(1);
                            nb.g.g(obj8, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA3 = hb.a.l0(gVar2.h(str4, (j) obj8));
                            } catch (Throwable th3) {
                                listA3 = nb.g.a(th3);
                            }
                            dVar.reply(listA3);
                            break;
                        case 3:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list4 = (List) obj;
                            List list5 = (List) list4.get(0);
                            Object obj9 = list4.get(1);
                            nb.g.g(obj9, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.o(list5, (j) obj9);
                                listA4 = hb.a.l0(null);
                            } catch (Throwable th4) {
                                listA4 = nb.g.a(th4);
                            }
                            dVar.reply(listA4);
                            break;
                        case 4:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list6 = (List) obj;
                            List list7 = (List) list6.get(0);
                            Object obj10 = list6.get(1);
                            nb.g.g(obj10, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA5 = hb.a.l0(gVar2.b(list7, (j) obj10));
                            } catch (Throwable th5) {
                                listA5 = nb.g.a(th5);
                            }
                            dVar.reply(listA5);
                            break;
                        case 5:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list8 = (List) obj;
                            List list9 = (List) list8.get(0);
                            Object obj11 = list8.get(1);
                            nb.g.g(obj11, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA6 = hb.a.l0(gVar2.c(list9, (j) obj11));
                            } catch (Throwable th6) {
                                listA6 = nb.g.a(th6);
                            }
                            dVar.reply(listA6);
                            break;
                        case 6:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list10 = (List) obj;
                            Object obj12 = list10.get(0);
                            nb.g.g(obj12, "null cannot be cast to non-null type kotlin.String");
                            String str5 = (String) obj12;
                            Object obj13 = list10.get(1);
                            nb.g.g(obj13, "null cannot be cast to non-null type kotlin.String");
                            String str6 = (String) obj13;
                            Object obj14 = list10.get(2);
                            nb.g.g(obj14, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.i(str5, str6, (j) obj14);
                                listA7 = hb.a.l0(null);
                            } catch (Throwable th7) {
                                listA7 = nb.g.a(th7);
                            }
                            dVar.reply(listA7);
                            break;
                        case 7:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list11 = (List) obj;
                            Object obj15 = list11.get(0);
                            nb.g.g(obj15, "null cannot be cast to non-null type kotlin.String");
                            String str7 = (String) obj15;
                            Object obj16 = list11.get(1);
                            nb.g.g(obj16, "null cannot be cast to non-null type kotlin.Long");
                            long jLongValue = ((Long) obj16).longValue();
                            Object obj17 = list11.get(2);
                            nb.g.g(obj17, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.l(str7, jLongValue, (j) obj17);
                                listA8 = hb.a.l0(null);
                            } catch (Throwable th8) {
                                listA8 = nb.g.a(th8);
                            }
                            dVar.reply(listA8);
                            break;
                        case 8:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list12 = (List) obj;
                            Object obj18 = list12.get(0);
                            nb.g.g(obj18, "null cannot be cast to non-null type kotlin.String");
                            String str8 = (String) obj18;
                            Object obj19 = list12.get(1);
                            nb.g.g(obj19, "null cannot be cast to non-null type kotlin.Double");
                            double dDoubleValue = ((Double) obj19).doubleValue();
                            Object obj20 = list12.get(2);
                            nb.g.g(obj20, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.m(str8, dDoubleValue, (j) obj20);
                                listA9 = hb.a.l0(null);
                            } catch (Throwable th9) {
                                listA9 = nb.g.a(th9);
                            }
                            dVar.reply(listA9);
                            break;
                        case 9:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list13 = (List) obj;
                            Object obj21 = list13.get(0);
                            nb.g.g(obj21, "null cannot be cast to non-null type kotlin.String");
                            String str9 = (String) obj21;
                            Object obj22 = list13.get(1);
                            nb.g.g(obj22, "null cannot be cast to non-null type kotlin.String");
                            String str10 = (String) obj22;
                            Object obj23 = list13.get(2);
                            nb.g.g(obj23, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.n(str9, str10, (j) obj23);
                                listA10 = hb.a.l0(null);
                            } catch (Throwable th10) {
                                listA10 = nb.g.a(th10);
                            }
                            dVar.reply(listA10);
                            break;
                        case 10:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list14 = (List) obj;
                            Object obj24 = list14.get(0);
                            nb.g.g(obj24, "null cannot be cast to non-null type kotlin.String");
                            String str11 = (String) obj24;
                            Object obj25 = list14.get(1);
                            nb.g.g(obj25, "null cannot be cast to non-null type kotlin.collections.List<kotlin.String>");
                            List list15 = (List) obj25;
                            Object obj26 = list14.get(2);
                            nb.g.g(obj26, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.a(str11, list15, (j) obj26);
                                listA11 = hb.a.l0(null);
                            } catch (Throwable th11) {
                                listA11 = nb.g.a(th11);
                            }
                            dVar.reply(listA11);
                            break;
                        case 11:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list16 = (List) obj;
                            Object obj27 = list16.get(0);
                            nb.g.g(obj27, "null cannot be cast to non-null type kotlin.String");
                            String str12 = (String) obj27;
                            Object obj28 = list16.get(1);
                            nb.g.g(obj28, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA12 = hb.a.l0(gVar2.k(str12, (j) obj28));
                            } catch (Throwable th12) {
                                listA12 = nb.g.a(th12);
                            }
                            dVar.reply(listA12);
                            break;
                        case 12:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list17 = (List) obj;
                            Object obj29 = list17.get(0);
                            nb.g.g(obj29, "null cannot be cast to non-null type kotlin.String");
                            String str13 = (String) obj29;
                            Object obj30 = list17.get(1);
                            nb.g.g(obj30, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA13 = hb.a.l0(gVar2.j(str13, (j) obj30));
                            } catch (Throwable th13) {
                                listA13 = nb.g.a(th13);
                            }
                            dVar.reply(listA13);
                            break;
                        case 13:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list18 = (List) obj;
                            Object obj31 = list18.get(0);
                            nb.g.g(obj31, "null cannot be cast to non-null type kotlin.String");
                            String str14 = (String) obj31;
                            Object obj32 = list18.get(1);
                            nb.g.g(obj32, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA14 = hb.a.l0(gVar2.g(str14, (j) obj32));
                            } catch (Throwable th14) {
                                listA14 = nb.g.a(th14);
                            }
                            dVar.reply(listA14);
                            break;
                        default:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list19 = (List) obj;
                            Object obj33 = list19.get(0);
                            nb.g.g(obj33, "null cannot be cast to non-null type kotlin.String");
                            String str15 = (String) obj33;
                            Object obj34 = list19.get(1);
                            nb.g.g(obj34, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA15 = hb.a.l0(gVar2.d(str15, (j) obj34));
                            } catch (Throwable th15) {
                                listA15 = nb.g.a(th15);
                            }
                            dVar.reply(listA15);
                            break;
                    }
                }
            });
        } else {
            eVar11.setMessageHandler(null);
        }
        ed.e eVar12 = new ed.e(iVar, defpackage.e.i("dev.flutter.pigeon.shared_preferences_android.SharedPreferencesAsyncApi.getStringList", strConcat), a(), hVarB);
        if (gVar != null) {
            final int i21 = 2;
            eVar12.setMessageHandler(new ed.c() { // from class: io.flutter.plugins.sharedpreferences.e
                @Override // ed.c
                public final void onMessage(Object obj, ed.d dVar) {
                    List listA;
                    List listA2;
                    List listA3;
                    List listA4;
                    List listA5;
                    List listA6;
                    List listA7;
                    List listA8;
                    List listA9;
                    List listA10;
                    List listA11;
                    List listA12;
                    List listA13;
                    List listA14;
                    List listA15;
                    int i112 = i21;
                    g gVar2 = gVar;
                    switch (i112) {
                        case 0:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list = (List) obj;
                            Object obj2 = list.get(0);
                            nb.g.g(obj2, "null cannot be cast to non-null type kotlin.String");
                            String str2 = (String) obj2;
                            Object obj3 = list.get(1);
                            nb.g.g(obj3, "null cannot be cast to non-null type kotlin.Boolean");
                            boolean zBooleanValue = ((Boolean) obj3).booleanValue();
                            Object obj4 = list.get(2);
                            nb.g.g(obj4, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.e(str2, zBooleanValue, (j) obj4);
                                listA = hb.a.l0(null);
                            } catch (Throwable th) {
                                listA = nb.g.a(th);
                            }
                            dVar.reply(listA);
                            break;
                        case 1:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list2 = (List) obj;
                            Object obj5 = list2.get(0);
                            nb.g.g(obj5, "null cannot be cast to non-null type kotlin.String");
                            String str3 = (String) obj5;
                            Object obj6 = list2.get(1);
                            nb.g.g(obj6, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA2 = hb.a.l0(gVar2.f(str3, (j) obj6));
                            } catch (Throwable th2) {
                                listA2 = nb.g.a(th2);
                            }
                            dVar.reply(listA2);
                            break;
                        case 2:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list3 = (List) obj;
                            Object obj7 = list3.get(0);
                            nb.g.g(obj7, "null cannot be cast to non-null type kotlin.String");
                            String str4 = (String) obj7;
                            Object obj8 = list3.get(1);
                            nb.g.g(obj8, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA3 = hb.a.l0(gVar2.h(str4, (j) obj8));
                            } catch (Throwable th3) {
                                listA3 = nb.g.a(th3);
                            }
                            dVar.reply(listA3);
                            break;
                        case 3:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list4 = (List) obj;
                            List list5 = (List) list4.get(0);
                            Object obj9 = list4.get(1);
                            nb.g.g(obj9, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.o(list5, (j) obj9);
                                listA4 = hb.a.l0(null);
                            } catch (Throwable th4) {
                                listA4 = nb.g.a(th4);
                            }
                            dVar.reply(listA4);
                            break;
                        case 4:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list6 = (List) obj;
                            List list7 = (List) list6.get(0);
                            Object obj10 = list6.get(1);
                            nb.g.g(obj10, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA5 = hb.a.l0(gVar2.b(list7, (j) obj10));
                            } catch (Throwable th5) {
                                listA5 = nb.g.a(th5);
                            }
                            dVar.reply(listA5);
                            break;
                        case 5:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list8 = (List) obj;
                            List list9 = (List) list8.get(0);
                            Object obj11 = list8.get(1);
                            nb.g.g(obj11, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA6 = hb.a.l0(gVar2.c(list9, (j) obj11));
                            } catch (Throwable th6) {
                                listA6 = nb.g.a(th6);
                            }
                            dVar.reply(listA6);
                            break;
                        case 6:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list10 = (List) obj;
                            Object obj12 = list10.get(0);
                            nb.g.g(obj12, "null cannot be cast to non-null type kotlin.String");
                            String str5 = (String) obj12;
                            Object obj13 = list10.get(1);
                            nb.g.g(obj13, "null cannot be cast to non-null type kotlin.String");
                            String str6 = (String) obj13;
                            Object obj14 = list10.get(2);
                            nb.g.g(obj14, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.i(str5, str6, (j) obj14);
                                listA7 = hb.a.l0(null);
                            } catch (Throwable th7) {
                                listA7 = nb.g.a(th7);
                            }
                            dVar.reply(listA7);
                            break;
                        case 7:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list11 = (List) obj;
                            Object obj15 = list11.get(0);
                            nb.g.g(obj15, "null cannot be cast to non-null type kotlin.String");
                            String str7 = (String) obj15;
                            Object obj16 = list11.get(1);
                            nb.g.g(obj16, "null cannot be cast to non-null type kotlin.Long");
                            long jLongValue = ((Long) obj16).longValue();
                            Object obj17 = list11.get(2);
                            nb.g.g(obj17, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.l(str7, jLongValue, (j) obj17);
                                listA8 = hb.a.l0(null);
                            } catch (Throwable th8) {
                                listA8 = nb.g.a(th8);
                            }
                            dVar.reply(listA8);
                            break;
                        case 8:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list12 = (List) obj;
                            Object obj18 = list12.get(0);
                            nb.g.g(obj18, "null cannot be cast to non-null type kotlin.String");
                            String str8 = (String) obj18;
                            Object obj19 = list12.get(1);
                            nb.g.g(obj19, "null cannot be cast to non-null type kotlin.Double");
                            double dDoubleValue = ((Double) obj19).doubleValue();
                            Object obj20 = list12.get(2);
                            nb.g.g(obj20, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.m(str8, dDoubleValue, (j) obj20);
                                listA9 = hb.a.l0(null);
                            } catch (Throwable th9) {
                                listA9 = nb.g.a(th9);
                            }
                            dVar.reply(listA9);
                            break;
                        case 9:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list13 = (List) obj;
                            Object obj21 = list13.get(0);
                            nb.g.g(obj21, "null cannot be cast to non-null type kotlin.String");
                            String str9 = (String) obj21;
                            Object obj22 = list13.get(1);
                            nb.g.g(obj22, "null cannot be cast to non-null type kotlin.String");
                            String str10 = (String) obj22;
                            Object obj23 = list13.get(2);
                            nb.g.g(obj23, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.n(str9, str10, (j) obj23);
                                listA10 = hb.a.l0(null);
                            } catch (Throwable th10) {
                                listA10 = nb.g.a(th10);
                            }
                            dVar.reply(listA10);
                            break;
                        case 10:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list14 = (List) obj;
                            Object obj24 = list14.get(0);
                            nb.g.g(obj24, "null cannot be cast to non-null type kotlin.String");
                            String str11 = (String) obj24;
                            Object obj25 = list14.get(1);
                            nb.g.g(obj25, "null cannot be cast to non-null type kotlin.collections.List<kotlin.String>");
                            List list15 = (List) obj25;
                            Object obj26 = list14.get(2);
                            nb.g.g(obj26, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.a(str11, list15, (j) obj26);
                                listA11 = hb.a.l0(null);
                            } catch (Throwable th11) {
                                listA11 = nb.g.a(th11);
                            }
                            dVar.reply(listA11);
                            break;
                        case 11:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list16 = (List) obj;
                            Object obj27 = list16.get(0);
                            nb.g.g(obj27, "null cannot be cast to non-null type kotlin.String");
                            String str12 = (String) obj27;
                            Object obj28 = list16.get(1);
                            nb.g.g(obj28, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA12 = hb.a.l0(gVar2.k(str12, (j) obj28));
                            } catch (Throwable th12) {
                                listA12 = nb.g.a(th12);
                            }
                            dVar.reply(listA12);
                            break;
                        case 12:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list17 = (List) obj;
                            Object obj29 = list17.get(0);
                            nb.g.g(obj29, "null cannot be cast to non-null type kotlin.String");
                            String str13 = (String) obj29;
                            Object obj30 = list17.get(1);
                            nb.g.g(obj30, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA13 = hb.a.l0(gVar2.j(str13, (j) obj30));
                            } catch (Throwable th13) {
                                listA13 = nb.g.a(th13);
                            }
                            dVar.reply(listA13);
                            break;
                        case 13:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list18 = (List) obj;
                            Object obj31 = list18.get(0);
                            nb.g.g(obj31, "null cannot be cast to non-null type kotlin.String");
                            String str14 = (String) obj31;
                            Object obj32 = list18.get(1);
                            nb.g.g(obj32, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA14 = hb.a.l0(gVar2.g(str14, (j) obj32));
                            } catch (Throwable th14) {
                                listA14 = nb.g.a(th14);
                            }
                            dVar.reply(listA14);
                            break;
                        default:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list19 = (List) obj;
                            Object obj33 = list19.get(0);
                            nb.g.g(obj33, "null cannot be cast to non-null type kotlin.String");
                            String str15 = (String) obj33;
                            Object obj34 = list19.get(1);
                            nb.g.g(obj34, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA15 = hb.a.l0(gVar2.d(str15, (j) obj34));
                            } catch (Throwable th15) {
                                listA15 = nb.g.a(th15);
                            }
                            dVar.reply(listA15);
                            break;
                    }
                }
            });
        } else {
            eVar12.setMessageHandler(null);
        }
        ed.e eVar13 = new ed.e(iVar, defpackage.e.i("dev.flutter.pigeon.shared_preferences_android.SharedPreferencesAsyncApi.clear", strConcat), a(), hVarB);
        if (gVar != null) {
            final int i22 = 3;
            eVar13.setMessageHandler(new ed.c() { // from class: io.flutter.plugins.sharedpreferences.e
                @Override // ed.c
                public final void onMessage(Object obj, ed.d dVar) {
                    List listA;
                    List listA2;
                    List listA3;
                    List listA4;
                    List listA5;
                    List listA6;
                    List listA7;
                    List listA8;
                    List listA9;
                    List listA10;
                    List listA11;
                    List listA12;
                    List listA13;
                    List listA14;
                    List listA15;
                    int i112 = i22;
                    g gVar2 = gVar;
                    switch (i112) {
                        case 0:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list = (List) obj;
                            Object obj2 = list.get(0);
                            nb.g.g(obj2, "null cannot be cast to non-null type kotlin.String");
                            String str2 = (String) obj2;
                            Object obj3 = list.get(1);
                            nb.g.g(obj3, "null cannot be cast to non-null type kotlin.Boolean");
                            boolean zBooleanValue = ((Boolean) obj3).booleanValue();
                            Object obj4 = list.get(2);
                            nb.g.g(obj4, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.e(str2, zBooleanValue, (j) obj4);
                                listA = hb.a.l0(null);
                            } catch (Throwable th) {
                                listA = nb.g.a(th);
                            }
                            dVar.reply(listA);
                            break;
                        case 1:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list2 = (List) obj;
                            Object obj5 = list2.get(0);
                            nb.g.g(obj5, "null cannot be cast to non-null type kotlin.String");
                            String str3 = (String) obj5;
                            Object obj6 = list2.get(1);
                            nb.g.g(obj6, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA2 = hb.a.l0(gVar2.f(str3, (j) obj6));
                            } catch (Throwable th2) {
                                listA2 = nb.g.a(th2);
                            }
                            dVar.reply(listA2);
                            break;
                        case 2:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list3 = (List) obj;
                            Object obj7 = list3.get(0);
                            nb.g.g(obj7, "null cannot be cast to non-null type kotlin.String");
                            String str4 = (String) obj7;
                            Object obj8 = list3.get(1);
                            nb.g.g(obj8, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA3 = hb.a.l0(gVar2.h(str4, (j) obj8));
                            } catch (Throwable th3) {
                                listA3 = nb.g.a(th3);
                            }
                            dVar.reply(listA3);
                            break;
                        case 3:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list4 = (List) obj;
                            List list5 = (List) list4.get(0);
                            Object obj9 = list4.get(1);
                            nb.g.g(obj9, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.o(list5, (j) obj9);
                                listA4 = hb.a.l0(null);
                            } catch (Throwable th4) {
                                listA4 = nb.g.a(th4);
                            }
                            dVar.reply(listA4);
                            break;
                        case 4:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list6 = (List) obj;
                            List list7 = (List) list6.get(0);
                            Object obj10 = list6.get(1);
                            nb.g.g(obj10, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA5 = hb.a.l0(gVar2.b(list7, (j) obj10));
                            } catch (Throwable th5) {
                                listA5 = nb.g.a(th5);
                            }
                            dVar.reply(listA5);
                            break;
                        case 5:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list8 = (List) obj;
                            List list9 = (List) list8.get(0);
                            Object obj11 = list8.get(1);
                            nb.g.g(obj11, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA6 = hb.a.l0(gVar2.c(list9, (j) obj11));
                            } catch (Throwable th6) {
                                listA6 = nb.g.a(th6);
                            }
                            dVar.reply(listA6);
                            break;
                        case 6:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list10 = (List) obj;
                            Object obj12 = list10.get(0);
                            nb.g.g(obj12, "null cannot be cast to non-null type kotlin.String");
                            String str5 = (String) obj12;
                            Object obj13 = list10.get(1);
                            nb.g.g(obj13, "null cannot be cast to non-null type kotlin.String");
                            String str6 = (String) obj13;
                            Object obj14 = list10.get(2);
                            nb.g.g(obj14, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.i(str5, str6, (j) obj14);
                                listA7 = hb.a.l0(null);
                            } catch (Throwable th7) {
                                listA7 = nb.g.a(th7);
                            }
                            dVar.reply(listA7);
                            break;
                        case 7:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list11 = (List) obj;
                            Object obj15 = list11.get(0);
                            nb.g.g(obj15, "null cannot be cast to non-null type kotlin.String");
                            String str7 = (String) obj15;
                            Object obj16 = list11.get(1);
                            nb.g.g(obj16, "null cannot be cast to non-null type kotlin.Long");
                            long jLongValue = ((Long) obj16).longValue();
                            Object obj17 = list11.get(2);
                            nb.g.g(obj17, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.l(str7, jLongValue, (j) obj17);
                                listA8 = hb.a.l0(null);
                            } catch (Throwable th8) {
                                listA8 = nb.g.a(th8);
                            }
                            dVar.reply(listA8);
                            break;
                        case 8:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list12 = (List) obj;
                            Object obj18 = list12.get(0);
                            nb.g.g(obj18, "null cannot be cast to non-null type kotlin.String");
                            String str8 = (String) obj18;
                            Object obj19 = list12.get(1);
                            nb.g.g(obj19, "null cannot be cast to non-null type kotlin.Double");
                            double dDoubleValue = ((Double) obj19).doubleValue();
                            Object obj20 = list12.get(2);
                            nb.g.g(obj20, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.m(str8, dDoubleValue, (j) obj20);
                                listA9 = hb.a.l0(null);
                            } catch (Throwable th9) {
                                listA9 = nb.g.a(th9);
                            }
                            dVar.reply(listA9);
                            break;
                        case 9:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list13 = (List) obj;
                            Object obj21 = list13.get(0);
                            nb.g.g(obj21, "null cannot be cast to non-null type kotlin.String");
                            String str9 = (String) obj21;
                            Object obj22 = list13.get(1);
                            nb.g.g(obj22, "null cannot be cast to non-null type kotlin.String");
                            String str10 = (String) obj22;
                            Object obj23 = list13.get(2);
                            nb.g.g(obj23, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.n(str9, str10, (j) obj23);
                                listA10 = hb.a.l0(null);
                            } catch (Throwable th10) {
                                listA10 = nb.g.a(th10);
                            }
                            dVar.reply(listA10);
                            break;
                        case 10:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list14 = (List) obj;
                            Object obj24 = list14.get(0);
                            nb.g.g(obj24, "null cannot be cast to non-null type kotlin.String");
                            String str11 = (String) obj24;
                            Object obj25 = list14.get(1);
                            nb.g.g(obj25, "null cannot be cast to non-null type kotlin.collections.List<kotlin.String>");
                            List list15 = (List) obj25;
                            Object obj26 = list14.get(2);
                            nb.g.g(obj26, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.a(str11, list15, (j) obj26);
                                listA11 = hb.a.l0(null);
                            } catch (Throwable th11) {
                                listA11 = nb.g.a(th11);
                            }
                            dVar.reply(listA11);
                            break;
                        case 11:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list16 = (List) obj;
                            Object obj27 = list16.get(0);
                            nb.g.g(obj27, "null cannot be cast to non-null type kotlin.String");
                            String str12 = (String) obj27;
                            Object obj28 = list16.get(1);
                            nb.g.g(obj28, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA12 = hb.a.l0(gVar2.k(str12, (j) obj28));
                            } catch (Throwable th12) {
                                listA12 = nb.g.a(th12);
                            }
                            dVar.reply(listA12);
                            break;
                        case 12:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list17 = (List) obj;
                            Object obj29 = list17.get(0);
                            nb.g.g(obj29, "null cannot be cast to non-null type kotlin.String");
                            String str13 = (String) obj29;
                            Object obj30 = list17.get(1);
                            nb.g.g(obj30, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA13 = hb.a.l0(gVar2.j(str13, (j) obj30));
                            } catch (Throwable th13) {
                                listA13 = nb.g.a(th13);
                            }
                            dVar.reply(listA13);
                            break;
                        case 13:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list18 = (List) obj;
                            Object obj31 = list18.get(0);
                            nb.g.g(obj31, "null cannot be cast to non-null type kotlin.String");
                            String str14 = (String) obj31;
                            Object obj32 = list18.get(1);
                            nb.g.g(obj32, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA14 = hb.a.l0(gVar2.g(str14, (j) obj32));
                            } catch (Throwable th14) {
                                listA14 = nb.g.a(th14);
                            }
                            dVar.reply(listA14);
                            break;
                        default:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list19 = (List) obj;
                            Object obj33 = list19.get(0);
                            nb.g.g(obj33, "null cannot be cast to non-null type kotlin.String");
                            String str15 = (String) obj33;
                            Object obj34 = list19.get(1);
                            nb.g.g(obj34, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA15 = hb.a.l0(gVar2.d(str15, (j) obj34));
                            } catch (Throwable th15) {
                                listA15 = nb.g.a(th15);
                            }
                            dVar.reply(listA15);
                            break;
                    }
                }
            });
        } else {
            eVar13.setMessageHandler(null);
        }
        ed.e eVar14 = new ed.e(iVar, defpackage.e.i("dev.flutter.pigeon.shared_preferences_android.SharedPreferencesAsyncApi.getAll", strConcat), a(), hVarB);
        if (gVar != null) {
            final int i23 = 4;
            eVar14.setMessageHandler(new ed.c() { // from class: io.flutter.plugins.sharedpreferences.e
                @Override // ed.c
                public final void onMessage(Object obj, ed.d dVar) {
                    List listA;
                    List listA2;
                    List listA3;
                    List listA4;
                    List listA5;
                    List listA6;
                    List listA7;
                    List listA8;
                    List listA9;
                    List listA10;
                    List listA11;
                    List listA12;
                    List listA13;
                    List listA14;
                    List listA15;
                    int i112 = i23;
                    g gVar2 = gVar;
                    switch (i112) {
                        case 0:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list = (List) obj;
                            Object obj2 = list.get(0);
                            nb.g.g(obj2, "null cannot be cast to non-null type kotlin.String");
                            String str2 = (String) obj2;
                            Object obj3 = list.get(1);
                            nb.g.g(obj3, "null cannot be cast to non-null type kotlin.Boolean");
                            boolean zBooleanValue = ((Boolean) obj3).booleanValue();
                            Object obj4 = list.get(2);
                            nb.g.g(obj4, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.e(str2, zBooleanValue, (j) obj4);
                                listA = hb.a.l0(null);
                            } catch (Throwable th) {
                                listA = nb.g.a(th);
                            }
                            dVar.reply(listA);
                            break;
                        case 1:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list2 = (List) obj;
                            Object obj5 = list2.get(0);
                            nb.g.g(obj5, "null cannot be cast to non-null type kotlin.String");
                            String str3 = (String) obj5;
                            Object obj6 = list2.get(1);
                            nb.g.g(obj6, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA2 = hb.a.l0(gVar2.f(str3, (j) obj6));
                            } catch (Throwable th2) {
                                listA2 = nb.g.a(th2);
                            }
                            dVar.reply(listA2);
                            break;
                        case 2:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list3 = (List) obj;
                            Object obj7 = list3.get(0);
                            nb.g.g(obj7, "null cannot be cast to non-null type kotlin.String");
                            String str4 = (String) obj7;
                            Object obj8 = list3.get(1);
                            nb.g.g(obj8, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA3 = hb.a.l0(gVar2.h(str4, (j) obj8));
                            } catch (Throwable th3) {
                                listA3 = nb.g.a(th3);
                            }
                            dVar.reply(listA3);
                            break;
                        case 3:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list4 = (List) obj;
                            List list5 = (List) list4.get(0);
                            Object obj9 = list4.get(1);
                            nb.g.g(obj9, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.o(list5, (j) obj9);
                                listA4 = hb.a.l0(null);
                            } catch (Throwable th4) {
                                listA4 = nb.g.a(th4);
                            }
                            dVar.reply(listA4);
                            break;
                        case 4:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list6 = (List) obj;
                            List list7 = (List) list6.get(0);
                            Object obj10 = list6.get(1);
                            nb.g.g(obj10, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA5 = hb.a.l0(gVar2.b(list7, (j) obj10));
                            } catch (Throwable th5) {
                                listA5 = nb.g.a(th5);
                            }
                            dVar.reply(listA5);
                            break;
                        case 5:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list8 = (List) obj;
                            List list9 = (List) list8.get(0);
                            Object obj11 = list8.get(1);
                            nb.g.g(obj11, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA6 = hb.a.l0(gVar2.c(list9, (j) obj11));
                            } catch (Throwable th6) {
                                listA6 = nb.g.a(th6);
                            }
                            dVar.reply(listA6);
                            break;
                        case 6:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list10 = (List) obj;
                            Object obj12 = list10.get(0);
                            nb.g.g(obj12, "null cannot be cast to non-null type kotlin.String");
                            String str5 = (String) obj12;
                            Object obj13 = list10.get(1);
                            nb.g.g(obj13, "null cannot be cast to non-null type kotlin.String");
                            String str6 = (String) obj13;
                            Object obj14 = list10.get(2);
                            nb.g.g(obj14, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.i(str5, str6, (j) obj14);
                                listA7 = hb.a.l0(null);
                            } catch (Throwable th7) {
                                listA7 = nb.g.a(th7);
                            }
                            dVar.reply(listA7);
                            break;
                        case 7:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list11 = (List) obj;
                            Object obj15 = list11.get(0);
                            nb.g.g(obj15, "null cannot be cast to non-null type kotlin.String");
                            String str7 = (String) obj15;
                            Object obj16 = list11.get(1);
                            nb.g.g(obj16, "null cannot be cast to non-null type kotlin.Long");
                            long jLongValue = ((Long) obj16).longValue();
                            Object obj17 = list11.get(2);
                            nb.g.g(obj17, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.l(str7, jLongValue, (j) obj17);
                                listA8 = hb.a.l0(null);
                            } catch (Throwable th8) {
                                listA8 = nb.g.a(th8);
                            }
                            dVar.reply(listA8);
                            break;
                        case 8:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list12 = (List) obj;
                            Object obj18 = list12.get(0);
                            nb.g.g(obj18, "null cannot be cast to non-null type kotlin.String");
                            String str8 = (String) obj18;
                            Object obj19 = list12.get(1);
                            nb.g.g(obj19, "null cannot be cast to non-null type kotlin.Double");
                            double dDoubleValue = ((Double) obj19).doubleValue();
                            Object obj20 = list12.get(2);
                            nb.g.g(obj20, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.m(str8, dDoubleValue, (j) obj20);
                                listA9 = hb.a.l0(null);
                            } catch (Throwable th9) {
                                listA9 = nb.g.a(th9);
                            }
                            dVar.reply(listA9);
                            break;
                        case 9:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list13 = (List) obj;
                            Object obj21 = list13.get(0);
                            nb.g.g(obj21, "null cannot be cast to non-null type kotlin.String");
                            String str9 = (String) obj21;
                            Object obj22 = list13.get(1);
                            nb.g.g(obj22, "null cannot be cast to non-null type kotlin.String");
                            String str10 = (String) obj22;
                            Object obj23 = list13.get(2);
                            nb.g.g(obj23, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.n(str9, str10, (j) obj23);
                                listA10 = hb.a.l0(null);
                            } catch (Throwable th10) {
                                listA10 = nb.g.a(th10);
                            }
                            dVar.reply(listA10);
                            break;
                        case 10:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list14 = (List) obj;
                            Object obj24 = list14.get(0);
                            nb.g.g(obj24, "null cannot be cast to non-null type kotlin.String");
                            String str11 = (String) obj24;
                            Object obj25 = list14.get(1);
                            nb.g.g(obj25, "null cannot be cast to non-null type kotlin.collections.List<kotlin.String>");
                            List list15 = (List) obj25;
                            Object obj26 = list14.get(2);
                            nb.g.g(obj26, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.a(str11, list15, (j) obj26);
                                listA11 = hb.a.l0(null);
                            } catch (Throwable th11) {
                                listA11 = nb.g.a(th11);
                            }
                            dVar.reply(listA11);
                            break;
                        case 11:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list16 = (List) obj;
                            Object obj27 = list16.get(0);
                            nb.g.g(obj27, "null cannot be cast to non-null type kotlin.String");
                            String str12 = (String) obj27;
                            Object obj28 = list16.get(1);
                            nb.g.g(obj28, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA12 = hb.a.l0(gVar2.k(str12, (j) obj28));
                            } catch (Throwable th12) {
                                listA12 = nb.g.a(th12);
                            }
                            dVar.reply(listA12);
                            break;
                        case 12:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list17 = (List) obj;
                            Object obj29 = list17.get(0);
                            nb.g.g(obj29, "null cannot be cast to non-null type kotlin.String");
                            String str13 = (String) obj29;
                            Object obj30 = list17.get(1);
                            nb.g.g(obj30, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA13 = hb.a.l0(gVar2.j(str13, (j) obj30));
                            } catch (Throwable th13) {
                                listA13 = nb.g.a(th13);
                            }
                            dVar.reply(listA13);
                            break;
                        case 13:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list18 = (List) obj;
                            Object obj31 = list18.get(0);
                            nb.g.g(obj31, "null cannot be cast to non-null type kotlin.String");
                            String str14 = (String) obj31;
                            Object obj32 = list18.get(1);
                            nb.g.g(obj32, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA14 = hb.a.l0(gVar2.g(str14, (j) obj32));
                            } catch (Throwable th14) {
                                listA14 = nb.g.a(th14);
                            }
                            dVar.reply(listA14);
                            break;
                        default:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list19 = (List) obj;
                            Object obj33 = list19.get(0);
                            nb.g.g(obj33, "null cannot be cast to non-null type kotlin.String");
                            String str15 = (String) obj33;
                            Object obj34 = list19.get(1);
                            nb.g.g(obj34, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA15 = hb.a.l0(gVar2.d(str15, (j) obj34));
                            } catch (Throwable th15) {
                                listA15 = nb.g.a(th15);
                            }
                            dVar.reply(listA15);
                            break;
                    }
                }
            });
        } else {
            eVar14.setMessageHandler(null);
        }
        ed.e eVar15 = new ed.e(iVar, defpackage.e.i("dev.flutter.pigeon.shared_preferences_android.SharedPreferencesAsyncApi.getKeys", strConcat), a(), hVarB);
        if (gVar == null) {
            eVar15.setMessageHandler(null);
        } else {
            final int i24 = 5;
            eVar15.setMessageHandler(new ed.c() { // from class: io.flutter.plugins.sharedpreferences.e
                @Override // ed.c
                public final void onMessage(Object obj, ed.d dVar) {
                    List listA;
                    List listA2;
                    List listA3;
                    List listA4;
                    List listA5;
                    List listA6;
                    List listA7;
                    List listA8;
                    List listA9;
                    List listA10;
                    List listA11;
                    List listA12;
                    List listA13;
                    List listA14;
                    List listA15;
                    int i112 = i24;
                    g gVar2 = gVar;
                    switch (i112) {
                        case 0:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list = (List) obj;
                            Object obj2 = list.get(0);
                            nb.g.g(obj2, "null cannot be cast to non-null type kotlin.String");
                            String str2 = (String) obj2;
                            Object obj3 = list.get(1);
                            nb.g.g(obj3, "null cannot be cast to non-null type kotlin.Boolean");
                            boolean zBooleanValue = ((Boolean) obj3).booleanValue();
                            Object obj4 = list.get(2);
                            nb.g.g(obj4, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.e(str2, zBooleanValue, (j) obj4);
                                listA = hb.a.l0(null);
                            } catch (Throwable th) {
                                listA = nb.g.a(th);
                            }
                            dVar.reply(listA);
                            break;
                        case 1:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list2 = (List) obj;
                            Object obj5 = list2.get(0);
                            nb.g.g(obj5, "null cannot be cast to non-null type kotlin.String");
                            String str3 = (String) obj5;
                            Object obj6 = list2.get(1);
                            nb.g.g(obj6, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA2 = hb.a.l0(gVar2.f(str3, (j) obj6));
                            } catch (Throwable th2) {
                                listA2 = nb.g.a(th2);
                            }
                            dVar.reply(listA2);
                            break;
                        case 2:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list3 = (List) obj;
                            Object obj7 = list3.get(0);
                            nb.g.g(obj7, "null cannot be cast to non-null type kotlin.String");
                            String str4 = (String) obj7;
                            Object obj8 = list3.get(1);
                            nb.g.g(obj8, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA3 = hb.a.l0(gVar2.h(str4, (j) obj8));
                            } catch (Throwable th3) {
                                listA3 = nb.g.a(th3);
                            }
                            dVar.reply(listA3);
                            break;
                        case 3:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list4 = (List) obj;
                            List list5 = (List) list4.get(0);
                            Object obj9 = list4.get(1);
                            nb.g.g(obj9, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.o(list5, (j) obj9);
                                listA4 = hb.a.l0(null);
                            } catch (Throwable th4) {
                                listA4 = nb.g.a(th4);
                            }
                            dVar.reply(listA4);
                            break;
                        case 4:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list6 = (List) obj;
                            List list7 = (List) list6.get(0);
                            Object obj10 = list6.get(1);
                            nb.g.g(obj10, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA5 = hb.a.l0(gVar2.b(list7, (j) obj10));
                            } catch (Throwable th5) {
                                listA5 = nb.g.a(th5);
                            }
                            dVar.reply(listA5);
                            break;
                        case 5:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list8 = (List) obj;
                            List list9 = (List) list8.get(0);
                            Object obj11 = list8.get(1);
                            nb.g.g(obj11, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA6 = hb.a.l0(gVar2.c(list9, (j) obj11));
                            } catch (Throwable th6) {
                                listA6 = nb.g.a(th6);
                            }
                            dVar.reply(listA6);
                            break;
                        case 6:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list10 = (List) obj;
                            Object obj12 = list10.get(0);
                            nb.g.g(obj12, "null cannot be cast to non-null type kotlin.String");
                            String str5 = (String) obj12;
                            Object obj13 = list10.get(1);
                            nb.g.g(obj13, "null cannot be cast to non-null type kotlin.String");
                            String str6 = (String) obj13;
                            Object obj14 = list10.get(2);
                            nb.g.g(obj14, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.i(str5, str6, (j) obj14);
                                listA7 = hb.a.l0(null);
                            } catch (Throwable th7) {
                                listA7 = nb.g.a(th7);
                            }
                            dVar.reply(listA7);
                            break;
                        case 7:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list11 = (List) obj;
                            Object obj15 = list11.get(0);
                            nb.g.g(obj15, "null cannot be cast to non-null type kotlin.String");
                            String str7 = (String) obj15;
                            Object obj16 = list11.get(1);
                            nb.g.g(obj16, "null cannot be cast to non-null type kotlin.Long");
                            long jLongValue = ((Long) obj16).longValue();
                            Object obj17 = list11.get(2);
                            nb.g.g(obj17, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.l(str7, jLongValue, (j) obj17);
                                listA8 = hb.a.l0(null);
                            } catch (Throwable th8) {
                                listA8 = nb.g.a(th8);
                            }
                            dVar.reply(listA8);
                            break;
                        case 8:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list12 = (List) obj;
                            Object obj18 = list12.get(0);
                            nb.g.g(obj18, "null cannot be cast to non-null type kotlin.String");
                            String str8 = (String) obj18;
                            Object obj19 = list12.get(1);
                            nb.g.g(obj19, "null cannot be cast to non-null type kotlin.Double");
                            double dDoubleValue = ((Double) obj19).doubleValue();
                            Object obj20 = list12.get(2);
                            nb.g.g(obj20, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.m(str8, dDoubleValue, (j) obj20);
                                listA9 = hb.a.l0(null);
                            } catch (Throwable th9) {
                                listA9 = nb.g.a(th9);
                            }
                            dVar.reply(listA9);
                            break;
                        case 9:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list13 = (List) obj;
                            Object obj21 = list13.get(0);
                            nb.g.g(obj21, "null cannot be cast to non-null type kotlin.String");
                            String str9 = (String) obj21;
                            Object obj22 = list13.get(1);
                            nb.g.g(obj22, "null cannot be cast to non-null type kotlin.String");
                            String str10 = (String) obj22;
                            Object obj23 = list13.get(2);
                            nb.g.g(obj23, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.n(str9, str10, (j) obj23);
                                listA10 = hb.a.l0(null);
                            } catch (Throwable th10) {
                                listA10 = nb.g.a(th10);
                            }
                            dVar.reply(listA10);
                            break;
                        case 10:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list14 = (List) obj;
                            Object obj24 = list14.get(0);
                            nb.g.g(obj24, "null cannot be cast to non-null type kotlin.String");
                            String str11 = (String) obj24;
                            Object obj25 = list14.get(1);
                            nb.g.g(obj25, "null cannot be cast to non-null type kotlin.collections.List<kotlin.String>");
                            List list15 = (List) obj25;
                            Object obj26 = list14.get(2);
                            nb.g.g(obj26, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                gVar2.a(str11, list15, (j) obj26);
                                listA11 = hb.a.l0(null);
                            } catch (Throwable th11) {
                                listA11 = nb.g.a(th11);
                            }
                            dVar.reply(listA11);
                            break;
                        case 11:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list16 = (List) obj;
                            Object obj27 = list16.get(0);
                            nb.g.g(obj27, "null cannot be cast to non-null type kotlin.String");
                            String str12 = (String) obj27;
                            Object obj28 = list16.get(1);
                            nb.g.g(obj28, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA12 = hb.a.l0(gVar2.k(str12, (j) obj28));
                            } catch (Throwable th12) {
                                listA12 = nb.g.a(th12);
                            }
                            dVar.reply(listA12);
                            break;
                        case 12:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list17 = (List) obj;
                            Object obj29 = list17.get(0);
                            nb.g.g(obj29, "null cannot be cast to non-null type kotlin.String");
                            String str13 = (String) obj29;
                            Object obj30 = list17.get(1);
                            nb.g.g(obj30, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA13 = hb.a.l0(gVar2.j(str13, (j) obj30));
                            } catch (Throwable th13) {
                                listA13 = nb.g.a(th13);
                            }
                            dVar.reply(listA13);
                            break;
                        case 13:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list18 = (List) obj;
                            Object obj31 = list18.get(0);
                            nb.g.g(obj31, "null cannot be cast to non-null type kotlin.String");
                            String str14 = (String) obj31;
                            Object obj32 = list18.get(1);
                            nb.g.g(obj32, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA14 = hb.a.l0(gVar2.g(str14, (j) obj32));
                            } catch (Throwable th14) {
                                listA14 = nb.g.a(th14);
                            }
                            dVar.reply(listA14);
                            break;
                        default:
                            nb.g.i(dVar, "reply");
                            nb.g.g(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                            List list19 = (List) obj;
                            Object obj33 = list19.get(0);
                            nb.g.g(obj33, "null cannot be cast to non-null type kotlin.String");
                            String str15 = (String) obj33;
                            Object obj34 = list19.get(1);
                            nb.g.g(obj34, "null cannot be cast to non-null type io.flutter.plugins.sharedpreferences.SharedPreferencesPigeonOptions");
                            try {
                                listA15 = hb.a.l0(gVar2.d(str15, (j) obj34));
                            } catch (Throwable th15) {
                                listA15 = nb.g.a(th15);
                            }
                            dVar.reply(listA15);
                            break;
                    }
                }
            });
        }
    }
}
