C source
compiled ASM
int five_minus_x(int x) {
switch (x) {
case 0: return 5;
case 1: return 4;
case 2: return 3;
case 3: return 2;
}
__builtin_unreachable();
}
five_minus_x(int):
mov eax, 5
sub eax, edi
ret
