1    /*
2     * Synchronize on an object.
3     */
4    /* monitor-enter vAA */
5    EXPORT_PC
6    lsr      w2, wINST, #8               // w2<- AA
7    GET_VREG w0, w2                      // w0<- vAA (object)
8    mov      x1, xSELF                   // w1<- self
9    bl       artLockObjectFromCode
10    cbnz     w0, MterpException
11    FETCH_ADVANCE_INST 1
12    GET_INST_OPCODE ip                   // extract opcode from rINST
13    GOTO_OPCODE ip                       // jump to next instruction
14