Could you please:
- create a static function  bootloader/common/pyi_utils.c:_set_arguments() from this #if block 
- call this function in  bootloader/common/pyi_utils.c:pyi_utils_create_child()