a.smali

.class public Lcom/baidu/location/indoor/mapversion/b/a;
.super Ljava/lang/Object;


# static fields
.field private static a:Ljava/util/concurrent/locks/Lock;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    new-instance v0, Ljava/util/concurrent/locks/ReentrantLock;

    invoke-direct {v0}, Ljava/util/concurrent/locks/ReentrantLock;-><init>()V

    sput-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    return-void
.end method

.method public static a()Z
    .registers 2

    sget-boolean v0, Lcom/baidu/location/indoor/mapversion/IndoorJni;->a:Z

    if-eqz v0, :cond_c

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x13

    if-le v0, v1, :cond_c

    const/4 v0, 0x1

    goto :goto_d

    :cond_c
    const/4 v0, 0x0

    :goto_d
    return v0
.end method

.method public static declared-synchronized a(Ljava/lang/String;)Z
    .registers 18

    move-object/from16 v0, p0

    const-class v13, Lcom/baidu/location/indoor/mapversion/b/a;

    monitor-enter v13

    :try_start_5
    invoke-static {}, Lcom/baidu/location/indoor/mapversion/b/a;->a()Z

    move-result v1
    :try_end_9
    .catchall {:try_start_5 .. :try_end_9} :catchall_98

    const/4 v2, 0x0

    if-nez v1, :cond_e

    monitor-exit v13

    return v2

    :cond_e
    :try_start_e
    invoke-static {}, Lcom/baidu/location/indoor/mapversion/c/a;->a()Lcom/baidu/location/indoor/mapversion/c/a;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/baidu/location/indoor/mapversion/c/a;->b(Ljava/lang/String;)Lcom/baidu/location/indoor/mapversion/c/a$d;

    move-result-object v14

    invoke-static {}, Lcom/baidu/location/indoor/mapversion/c/a;->a()Lcom/baidu/location/indoor/mapversion/c/a;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/baidu/location/indoor/mapversion/c/a;->c(Ljava/lang/String;)[[D

    move-result-object v15
    :try_end_1e
    .catchall {:try_start_e .. :try_end_1e} :catchall_98

    if-nez v14, :cond_22

    monitor-exit v13

    return v2

    :cond_22
    :try_start_22
    const-string v1, "gcj02"

    invoke-virtual {v14, v1}, Lcom/baidu/location/indoor/mapversion/c/a$d;->a(Ljava/lang/String;)V

    iget-object v3, v14, Lcom/baidu/location/indoor/mapversion/c/a$d;->g:[[S

    invoke-virtual {v14}, Lcom/baidu/location/indoor/mapversion/c/a$d;->a()Lcom/baidu/location/indoor/mapversion/c/a$a;

    move-result-object v1

    iget-wide v4, v1, Lcom/baidu/location/indoor/mapversion/c/a$a;->a:D

    invoke-virtual {v14}, Lcom/baidu/location/indoor/mapversion/c/a$d;->a()Lcom/baidu/location/indoor/mapversion/c/a$a;

    move-result-object v1

    iget-wide v6, v1, Lcom/baidu/location/indoor/mapversion/c/a$a;->b:D

    invoke-static {}, Lcom/baidu/location/indoor/mapversion/c/a;->a()Lcom/baidu/location/indoor/mapversion/c/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/baidu/location/indoor/mapversion/c/a;->c()Lcom/baidu/location/indoor/mapversion/c/a$d;

    move-result-object v1
    :try_end_3d
    .catchall {:try_start_22 .. :try_end_3d} :catchall_98

    if-nez v1, :cond_41

    monitor-exit v13

    return v2

    :cond_41
    :try_start_41
    invoke-virtual {v14}, Lcom/baidu/location/indoor/mapversion/c/a$d;->a()Lcom/baidu/location/indoor/mapversion/c/a$a;

    move-result-object v2

    iget-wide v8, v2, Lcom/baidu/location/indoor/mapversion/c/a$a;->d:D

    neg-double v8, v8

    invoke-virtual {v1, v8, v9}, Lcom/baidu/location/indoor/mapversion/c/a$d;->a(D)D

    move-result-wide v9

    invoke-virtual {v14}, Lcom/baidu/location/indoor/mapversion/c/a$d;->a()Lcom/baidu/location/indoor/mapversion/c/a$a;

    move-result-object v2

    iget-wide v11, v2, Lcom/baidu/location/indoor/mapversion/c/a$a;->f:D

    neg-double v11, v11

    invoke-virtual {v1, v11, v12}, Lcom/baidu/location/indoor/mapversion/c/a$d;->b(D)D

    move-result-wide v11

    sget-object v1, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    invoke-interface {v1}, Ljava/util/concurrent/locks/Lock;->lock()V
    :try_end_5c
    .catchall {:try_start_41 .. :try_end_5c} :catchall_98

    :try_start_5c
    iget-object v1, v14, Lcom/baidu/location/indoor/mapversion/c/a$d;->f:Lcom/baidu/location/indoor/mapversion/c/a$a;

    iget-wide v1, v1, Lcom/baidu/location/indoor/mapversion/c/a$a;->g:D

    double-to-int v8, v1

    iget-object v1, v14, Lcom/baidu/location/indoor/mapversion/c/a$d;->f:Lcom/baidu/location/indoor/mapversion/c/a$a;

    iget-wide v1, v1, Lcom/baidu/location/indoor/mapversion/c/a$a;->h:D

    double-to-int v2, v1

    move-object/from16 v1, p0

    move/from16 v16, v2

    move-object v2, v3

    move-wide v3, v4

    move-wide v5, v6

    move v7, v8

    move/from16 v8, v16

    invoke-static/range {v1 .. v12}, Lcom/baidu/location/indoor/mapversion/IndoorJni;->setPfRdnt(Ljava/lang/String;[[SDDIIDD)V

    iget-object v1, v14, Lcom/baidu/location/indoor/mapversion/c/a$d;->f:Lcom/baidu/location/indoor/mapversion/c/a$a;

    iget-wide v1, v1, Lcom/baidu/location/indoor/mapversion/c/a$a;->g:D

    double-to-int v1, v1

    iget-object v2, v14, Lcom/baidu/location/indoor/mapversion/c/a$d;->f:Lcom/baidu/location/indoor/mapversion/c/a$a;

    iget-wide v2, v2, Lcom/baidu/location/indoor/mapversion/c/a$a;->h:D

    double-to-int v2, v2

    invoke-static {v15, v0, v1, v2}, Lcom/baidu/location/indoor/mapversion/IndoorJni;->setPfGeoMap([[DLjava/lang/String;II)V
    :try_end_80
    .catch Ljava/lang/Exception; {:try_start_5c .. :try_end_80} :catch_88
    .catchall {:try_start_5c .. :try_end_80} :catchall_86

    :try_start_80
    sget-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    :goto_82
    invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->unlock()V
    :try_end_85
    .catchall {:try_start_80 .. :try_end_85} :catchall_98

    goto :goto_8f

    :catchall_86
    move-exception v0

    goto :goto_92

    :catch_88
    move-exception v0

    :try_start_89
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_8c
    .catchall {:try_start_89 .. :try_end_8c} :catchall_86

    :try_start_8c
    sget-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;
    :try_end_8e
    .catchall {:try_start_8c .. :try_end_8e} :catchall_98

    goto :goto_82

    :goto_8f
    const/4 v0, 0x1

    monitor-exit v13

    return v0

    :goto_92
    :try_start_92
    sget-object v1, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    invoke-interface {v1}, Ljava/util/concurrent/locks/Lock;->unlock()V

    throw v0
    :try_end_98
    .catchall {:try_start_92 .. :try_end_98} :catchall_98

    :catchall_98
    move-exception v0

    monitor-exit v13

    goto :goto_9c

    :goto_9b
    throw v0

    :goto_9c
    goto :goto_9b
.end method

.method public static declared-synchronized a(DDDDD)[D
    .registers 29

    move-wide/from16 v0, p0

    move-wide/from16 v2, p2

    const-class v4, Lcom/baidu/location/indoor/mapversion/b/a;

    monitor-enter v4

    :try_start_7
    invoke-static {}, Lcom/baidu/location/indoor/mapversion/b/a;->a()Z

    move-result v5
    :try_end_b
    .catchall {:try_start_7 .. :try_end_b} :catchall_98

    if-nez v5, :cond_10

    const/4 v0, 0x0

    monitor-exit v4

    return-object v0

    :cond_10
    :try_start_10
    invoke-static {}, Lcom/baidu/location/indoor/mapversion/c/a;->a()Lcom/baidu/location/indoor/mapversion/c/a;

    move-result-object v5

    invoke-virtual {v5, v0, v1, v2, v3}, Lcom/baidu/location/indoor/mapversion/c/a;->a(DD)V

    invoke-static {}, Lcom/baidu/location/indoor/mapversion/c/a;->a()Lcom/baidu/location/indoor/mapversion/c/a;

    move-result-object v5

    invoke-virtual {v5}, Lcom/baidu/location/indoor/mapversion/c/a;->c()Lcom/baidu/location/indoor/mapversion/c/a$d;

    move-result-object v5

    invoke-virtual {v5, v0, v1}, Lcom/baidu/location/indoor/mapversion/c/a$d;->a(D)D

    move-result-wide v6

    invoke-virtual {v5, v2, v3}, Lcom/baidu/location/indoor/mapversion/c/a$d;->b(D)D

    move-result-wide v8

    const/16 v0, 0xc

    new-array v1, v0, [D

    const/4 v2, 0x0

    const-wide/high16 v10, -0x4010000000000000L    # -1.0

    aput-wide v10, v1, v2

    const/4 v3, 0x1

    aput-wide v10, v1, v3

    const/16 v18, 0x2

    aput-wide v10, v1, v18

    const/4 v0, 0x3

    aput-wide v10, v1, v0

    const/4 v0, 0x4

    aput-wide v10, v1, v0

    const/4 v0, 0x5

    aput-wide v10, v1, v0

    const/4 v0, 0x6

    aput-wide v10, v1, v0

    const/4 v0, 0x7

    aput-wide v10, v1, v0

    const/16 v0, 0x8

    aput-wide v10, v1, v0

    const/16 v0, 0x9

    aput-wide v10, v1, v0

    const/16 v0, 0xa

    aput-wide v10, v1, v0

    const/16 v0, 0xb

    aput-wide v10, v1, v0

    sget-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->lock()V
    :try_end_5b
    .catchall {:try_start_10 .. :try_end_5b} :catchall_98

    :try_start_5b
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v16

    move-wide/from16 v10, p4

    move-wide/from16 v12, p6

    move-wide/from16 v14, p8

    invoke-static/range {v6 .. v17}, Lcom/baidu/location/indoor/mapversion/IndoorJni;->setPfGps(DDDDDJ)[D

    move-result-object v1
    :try_end_69
    .catch Ljava/lang/Exception; {:try_start_5b .. :try_end_69} :catch_71
    .catchall {:try_start_5b .. :try_end_69} :catchall_6f

    :try_start_69
    sget-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    :goto_6b
    invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->unlock()V
    :try_end_6e
    .catchall {:try_start_69 .. :try_end_6e} :catchall_98

    goto :goto_78

    :catchall_6f
    move-exception v0

    goto :goto_92

    :catch_71
    move-exception v0

    :try_start_72
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_75
    .catchall {:try_start_72 .. :try_end_75} :catchall_6f

    :try_start_75
    sget-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    goto :goto_6b

    :goto_78
    aget-wide v6, v1, v2

    const-wide/16 v8, 0x0

    cmpl-double v0, v6, v8

    if-nez v0, :cond_90

    aget-wide v6, v1, v3

    invoke-virtual {v5, v6, v7}, Lcom/baidu/location/indoor/mapversion/c/a$d;->c(D)D

    move-result-wide v6

    aget-wide v8, v1, v18

    invoke-virtual {v5, v8, v9}, Lcom/baidu/location/indoor/mapversion/c/a$d;->d(D)D

    move-result-wide v8

    aput-wide v6, v1, v3

    aput-wide v8, v1, v18
    :try_end_90
    .catchall {:try_start_75 .. :try_end_90} :catchall_98

    :cond_90
    monitor-exit v4

    return-object v1

    :goto_92
    :try_start_92
    sget-object v1, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    invoke-interface {v1}, Ljava/util/concurrent/locks/Lock;->unlock()V

    throw v0
    :try_end_98
    .catchall {:try_start_92 .. :try_end_98} :catchall_98

    :catchall_98
    move-exception v0

    monitor-exit v4

    goto :goto_9c

    :goto_9b
    throw v0

    :goto_9c
    goto :goto_9b
.end method

.method public static declared-synchronized a(Lcom/baidu/location/BDLocation;)[D
    .registers 18

    const-class v1, Lcom/baidu/location/indoor/mapversion/b/a;

    monitor-enter v1

    :try_start_3
    invoke-static {}, Lcom/baidu/location/indoor/mapversion/b/a;->a()Z

    move-result v0
    :try_end_7
    .catchall {:try_start_3 .. :try_end_7} :catchall_93

    if-nez v0, :cond_c

    const/4 v0, 0x0

    monitor-exit v1

    return-object v0

    :cond_c
    :try_start_c
    invoke-static {}, Lcom/baidu/location/indoor/mapversion/c/a;->a()Lcom/baidu/location/indoor/mapversion/c/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/baidu/location/indoor/mapversion/c/a;->c()Lcom/baidu/location/indoor/mapversion/c/a$d;

    move-result-object v2

    const/16 v0, 0xc

    new-array v3, v0, [D

    const/4 v4, 0x0

    const-wide/high16 v5, -0x4010000000000000L    # -1.0

    aput-wide v5, v3, v4

    const/4 v7, 0x1

    aput-wide v5, v3, v7

    const/4 v8, 0x2

    aput-wide v5, v3, v8

    const/4 v0, 0x3

    aput-wide v5, v3, v0

    const/4 v0, 0x4

    aput-wide v5, v3, v0

    const/4 v0, 0x5

    aput-wide v5, v3, v0

    const/4 v0, 0x6

    aput-wide v5, v3, v0

    const/4 v0, 0x7

    aput-wide v5, v3, v0

    const/16 v0, 0x8

    aput-wide v5, v3, v0

    const/16 v0, 0x9

    aput-wide v5, v3, v0

    const/16 v0, 0xa

    aput-wide v5, v3, v0

    const/16 v0, 0xb

    aput-wide v5, v3, v0

    if-eqz v2, :cond_91

    invoke-virtual/range {p0 .. p0}, Lcom/baidu/location/BDLocation;->getLongitude()D

    move-result-wide v5

    invoke-virtual {v2, v5, v6}, Lcom/baidu/location/indoor/mapversion/c/a$d;->a(D)D

    move-result-wide v9

    invoke-virtual/range {p0 .. p0}, Lcom/baidu/location/BDLocation;->getLatitude()D

    move-result-wide v5

    invoke-virtual {v2, v5, v6}, Lcom/baidu/location/indoor/mapversion/c/a$d;->b(D)D

    move-result-wide v11

    sget-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->lock()V
    :try_end_59
    .catchall {:try_start_c .. :try_end_59} :catchall_93

    const-wide/high16 v13, 0x4020000000000000L    # 8.0

    :try_start_5b
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v15

    invoke-static/range {v9 .. v16}, Lcom/baidu/location/indoor/mapversion/IndoorJni;->setPfWf(DDDJ)[D

    move-result-object v3
    :try_end_63
    .catch Ljava/lang/Exception; {:try_start_5b .. :try_end_63} :catch_6b
    .catchall {:try_start_5b .. :try_end_63} :catchall_69

    :try_start_63
    sget-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    :goto_65
    invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->unlock()V
    :try_end_68
    .catchall {:try_start_63 .. :try_end_68} :catchall_93

    goto :goto_72

    :catchall_69
    move-exception v0

    goto :goto_8b

    :catch_6b
    move-exception v0

    :try_start_6c
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_6f
    .catchall {:try_start_6c .. :try_end_6f} :catchall_69

    :try_start_6f
    sget-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    goto :goto_65

    :goto_72
    aget-wide v4, v3, v4

    const-wide/16 v9, 0x0

    cmpl-double v0, v4, v9

    if-nez v0, :cond_91

    aget-wide v4, v3, v7

    invoke-virtual {v2, v4, v5}, Lcom/baidu/location/indoor/mapversion/c/a$d;->c(D)D

    move-result-wide v4

    aget-wide v9, v3, v8

    invoke-virtual {v2, v9, v10}, Lcom/baidu/location/indoor/mapversion/c/a$d;->d(D)D

    move-result-wide v9

    aput-wide v4, v3, v7

    aput-wide v9, v3, v8

    goto :goto_91

    :goto_8b
    sget-object v2, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    invoke-interface {v2}, Ljava/util/concurrent/locks/Lock;->unlock()V

    throw v0
    :try_end_91
    .catchall {:try_start_6f .. :try_end_91} :catchall_93

    :cond_91
    :goto_91
    monitor-exit v1

    return-object v3

    :catchall_93
    move-exception v0

    monitor-exit v1

    goto :goto_97

    :goto_96
    throw v0

    :goto_97
    goto :goto_96
.end method

.method public static declared-synchronized a(Ljava/lang/String;DDD)[D
    .registers 22

    const-class v1, Lcom/baidu/location/indoor/mapversion/b/a;

    monitor-enter v1

    :try_start_3
    invoke-static {}, Lcom/baidu/location/indoor/mapversion/b/a;->a()Z

    move-result v0
    :try_end_7
    .catchall {:try_start_3 .. :try_end_7} :catchall_85

    if-nez v0, :cond_c

    const/4 v0, 0x0

    monitor-exit v1

    return-object v0

    :cond_c
    :try_start_c
    invoke-static {}, Lcom/baidu/location/indoor/mapversion/c/a;->a()Lcom/baidu/location/indoor/mapversion/c/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/baidu/location/indoor/mapversion/c/a;->c()Lcom/baidu/location/indoor/mapversion/c/a$d;

    move-result-object v2

    const/16 v0, 0xc

    new-array v3, v0, [D

    const/4 v4, 0x0

    const-wide/high16 v5, -0x4010000000000000L    # -1.0

    aput-wide v5, v3, v4

    const/4 v7, 0x1

    aput-wide v5, v3, v7

    const/4 v8, 0x2

    aput-wide v5, v3, v8

    const/4 v0, 0x3

    aput-wide v5, v3, v0

    const/4 v0, 0x4

    aput-wide v5, v3, v0

    const/4 v0, 0x5

    aput-wide v5, v3, v0

    const/4 v0, 0x6

    aput-wide v5, v3, v0

    const/4 v0, 0x7

    aput-wide v5, v3, v0

    const/16 v0, 0x8

    aput-wide v5, v3, v0

    const/16 v0, 0x9

    aput-wide v5, v3, v0

    const/16 v0, 0xa

    aput-wide v5, v3, v0

    const/16 v0, 0xb

    aput-wide v5, v3, v0

    if-eqz v2, :cond_83

    sget-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->lock()V
    :try_end_49
    .catchall {:try_start_c .. :try_end_49} :catchall_85

    :try_start_49
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v13

    move-wide/from16 v9, p3

    move-wide/from16 v11, p5

    invoke-static/range {v9 .. v14}, Lcom/baidu/location/indoor/mapversion/IndoorJni;->setPfDr(DDJ)[D

    move-result-object v3
    :try_end_55
    .catch Ljava/lang/Exception; {:try_start_49 .. :try_end_55} :catch_5d
    .catchall {:try_start_49 .. :try_end_55} :catchall_5b

    :try_start_55
    sget-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    :goto_57
    invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->unlock()V
    :try_end_5a
    .catchall {:try_start_55 .. :try_end_5a} :catchall_85

    goto :goto_64

    :catchall_5b
    move-exception v0

    goto :goto_7d

    :catch_5d
    move-exception v0

    :try_start_5e
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_61
    .catchall {:try_start_5e .. :try_end_61} :catchall_5b

    :try_start_61
    sget-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    goto :goto_57

    :goto_64
    aget-wide v4, v3, v4

    const-wide/16 v9, 0x0

    cmpl-double v0, v4, v9

    if-nez v0, :cond_83

    aget-wide v4, v3, v7

    invoke-virtual {v2, v4, v5}, Lcom/baidu/location/indoor/mapversion/c/a$d;->c(D)D

    move-result-wide v4

    aget-wide v9, v3, v8

    invoke-virtual {v2, v9, v10}, Lcom/baidu/location/indoor/mapversion/c/a$d;->d(D)D

    move-result-wide v9

    aput-wide v4, v3, v7

    aput-wide v9, v3, v8

    goto :goto_83

    :goto_7d
    sget-object v2, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    invoke-interface {v2}, Ljava/util/concurrent/locks/Lock;->unlock()V

    throw v0
    :try_end_83
    .catchall {:try_start_61 .. :try_end_83} :catchall_85

    :cond_83
    :goto_83
    monitor-exit v1

    return-object v3

    :catchall_85
    move-exception v0

    monitor-exit v1

    goto :goto_89

    :goto_88
    throw v0

    :goto_89
    goto :goto_88
.end method

.method public static b()V
    .registers 2

    invoke-static {}, Lcom/baidu/location/indoor/mapversion/b/a;->a()Z

    move-result v0

    if-nez v0, :cond_7

    return-void

    :cond_7
    sget-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->lock()V

    :try_start_c
    invoke-static {}, Lcom/baidu/location/indoor/mapversion/IndoorJni;->initPf()V
    :try_end_f
    .catch Ljava/lang/Exception; {:try_start_c .. :try_end_f} :catch_17
    .catchall {:try_start_c .. :try_end_f} :catchall_15

    :goto_f
    sget-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->unlock()V

    goto :goto_1c

    :catchall_15
    move-exception v0

    goto :goto_1d

    :catch_17
    move-exception v0

    :try_start_18
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_1b
    .catchall {:try_start_18 .. :try_end_1b} :catchall_15

    goto :goto_f

    :goto_1c
    return-void

    :goto_1d
    sget-object v1, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    invoke-interface {v1}, Ljava/util/concurrent/locks/Lock;->unlock()V

    goto :goto_24

    :goto_23
    throw v0

    :goto_24
    goto :goto_23
.end method

.method public static c()V
    .registers 2

    invoke-static {}, Lcom/baidu/location/indoor/mapversion/b/a;->a()Z

    move-result v0

    if-nez v0, :cond_7

    return-void

    :cond_7
    sget-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->lock()V

    :try_start_c
    invoke-static {}, Lcom/baidu/location/indoor/mapversion/IndoorJni;->resetPf()V
    :try_end_f
    .catch Ljava/lang/Exception; {:try_start_c .. :try_end_f} :catch_17
    .catchall {:try_start_c .. :try_end_f} :catchall_15

    :goto_f
    sget-object v0, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->unlock()V

    goto :goto_1c

    :catchall_15
    move-exception v0

    goto :goto_1d

    :catch_17
    move-exception v0

    :try_start_18
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_1b
    .catchall {:try_start_18 .. :try_end_1b} :catchall_15

    goto :goto_f

    :goto_1c
    return-void

    :goto_1d
    sget-object v1, Lcom/baidu/location/indoor/mapversion/b/a;->a:Ljava/util/concurrent/locks/Lock;

    invoke-interface {v1}, Ljava/util/concurrent/locks/Lock;->unlock()V

    goto :goto_24

    :goto_23
    throw v0

    :goto_24
    goto :goto_23
.end method