midenc-codegen-masm 0.7.2

Miden Assembly backend for the Miden compiler
builtin.function public extern("C") @util_switch_lowering_sparse_cases_test(%0: u32, %1: u32) -> u32 {
    %2 = scf.index_switch %0 
    case 1 {
        %3 = arith.constant 1 : u32;
        scf.yield %3 : (u32);
    }
    case 3 {
        %4 = arith.constant 3 : u32;
        scf.yield %4 : (u32);
    }
    case 5 {
        %5 = arith.constant 5 : u32;
        scf.yield %5 : (u32);
    }
    default {
        %6 = arith.mul %0, %1 <{ overflow = #builtin.overflow<checked> }>;
        scf.yield %6 : (u32);
    } : (u32);
    builtin.ret %2 : (u32);
};