ICAgICAgYWRkICAkdDAsICR6ZXJvLCAkYTAgICAgCmxvb3A6IAogICAgICBsdyAgICR0MSwgMCgkYTEpCiAgICAgIG5vcCAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgbHcgICAkdDIsIDQoJHQxKQogICAgICBhZGQgICR0MywgJHQwLCAkYTIKICAgICAgYm5lICAkdDIsICR0Mywgc2tpcAogICAgICBub3AKICAgICAgYWRkICAkdDQsICR0MiwgJHQ0CnNraXA6IAogICAgICBhZGRpICR0MCwgJHQwLCAtMQogICAgICBhZGRpICRhMSwgJGExLCA0CiAgICAgIGJuZSAgJDAsICR0MCwgbG9vcAogICAgICBub3AKICAgICAgYW5kICAkdjAsICR0NCwgJHQ0
add $t0, $zero, $a0
loop:
lw $t1, 0($a1)
nop
lw $t2, 4($t1)
add $t3, $t0, $a2
bne $t2, $t3, skip
nop
add $t4, $t2, $t4
skip:
addi $t0, $t0, -1
addi $a1, $a1, 4
bne $0, $t0, loop
nop
and $v0, $t4, $t4