private static android.os.Bundle getCurrentPlaceParameters(com.facebook.places.model.CurrentPlaceRequestParams p7, com.facebook.places.internal.LocationPackage p8)
    {
        if (p7 == null) {
            throw new com.facebook.FacebookException(Request and location must be specified.);
        } else {
            if (p8 == null) {
                p8 = new com.facebook.places.internal.LocationPackage();
            }
            if (p8.location == null) {
                p8.location = p7.getLocation();
            }
            if (p8.location == null) {
                throw new com.facebook.FacebookException(A location must be specified);
            } else {
                try {
                    android.os.Bundle v1_3 = new android.os.Bundle(6);
                    v1_3.putString(summary, tracking);
                    int v2_15 = p7.getLimit();
                } catch (String v7_9) {
                    throw new com.facebook.FacebookException(v7_9);
                }
                if (v2_15 > 0) {
                    v1_3.putInt(limit, v2_15);
                }
                int v2_16 = p7.getFields();
                if ((v2_16 != 0) && (!v2_16.isEmpty())) {
                    v1_3.putString(fields, android.text.TextUtils.join(,, v2_16));
                }
                int v2_18 = p8.location;
                org.json.JSONObject v3_10 = new org.json.JSONObject();
                v3_10.put(latitude, v2_18.getLatitude());
                v3_10.put(longitude, v2_18.getLongitude());
                if (v2_18.hasAccuracy()) {
                    v3_10.put(accuracy, ((double) v2_18.getAccuracy()));
                }
                if (v2_18.hasAltitude()) {
                    v3_10.put(altitude, v2_18.getAltitude());
                }
                if (v2_18.hasBearing()) {
                    v3_10.put(heading, ((double) v2_18.getBearing()));
                }
                if (v2_18.hasSpeed()) {
                    v3_10.put(speed, ((double) v2_18.getSpeed()));
                }
                v1_3.putString(coordinates, v3_10.toString());
                String v7_13 = p7.getMinConfidenceLevel();
                if ((v7_13 == com.facebook.places.model.CurrentPlaceRequestParams$ConfidenceLevel.LOW) || ((v7_13 == com.facebook.places.model.CurrentPlaceRequestParams$ConfidenceLevel.MEDIUM) || (v7_13 == com.facebook.places.model.CurrentPlaceRequestParams$ConfidenceLevel.HIGH))) {
                    v1_3.putString(min_confidence_level, v7_13.toString().toLowerCase(java.util.Locale.US));
                }
                if (p8 != null) {
                    String v7_3 = new org.json.JSONObject();
                    v7_3.put(enabled, p8.isWifiScanningEnabled);
                    int v2_2 = p8.connectedWifi;
                    if (v2_2 != 0) {
                        v7_3.put(current_connection, com.facebook.places.PlaceManager.getWifiScanJson(v2_2));
                    }
                    int v2_4 = p8.ambientWifi;
                    if (v2_4 != 0) {
                        org.json.JSONObject v3_2 = new org.json.JSONArray();
                        int v2_5 = v2_4.iterator();
                        while (v2_5.hasNext()) {
                            v3_2.put(com.facebook.places.PlaceManager.getWifiScanJson(((com.facebook.places.internal.WifiScanResult) v2_5.next())));
                        }
                        v7_3.put(access_points, v3_2);
                    }
                    v1_3.putString(wifi, v7_3.toString());
                    String v7_6 = new org.json.JSONObject();
                    v7_6.put(enabled, p8.isBluetoothScanningEnabled);
                    String v8_1 = p8.ambientBluetoothLe;
                    if (v8_1 != null) {
                        org.json.JSONArray v0_2 = new org.json.JSONArray();
                        String v8_2 = v8_1.iterator();
                        while (v8_2.hasNext()) {
                            int v2_11 = ((com.facebook.places.internal.BluetoothScanResult) v8_2.next());
                            org.json.JSONObject v3_4 = new org.json.JSONObject();
                            v3_4.put(payload, v2_11.payload);
                            v3_4.put(rssi, v2_11.rssi);
                            v0_2.put(v3_4);
                        }
                        v7_6.put(scans, v0_2);
                    }
                    v1_3.putString(bluetooth, v7_6.toString());
                }
                return v1_3;
            }
        }
    }