What are the reasons that the Decompiler might fail to inline a function?
Example
I have been working on reverse-engineering an Arm Cortex-M I have a function that is called twice in a row in the code. However, the decompiler is only able to inline the first call to the function. As the two calls are nearly identical (a single register is changed), I don't see why the inlining would fail in the second case.
Disassembly of function calls

Decompilation of function calls (no inlining)

Decompilation of function calls (with inlining)

Disassembly of called function

Decompilation of called function
