def METHOD_NAME(carry, x):
    inner_args = jax_args_to_inner_scan(op, carry, x)
    inner_scan_outs = list(jax_at_inner_func(*inner_args))
    new_carry = inner_scan_outs_to_jax_outs(op, carry, inner_scan_outs)
    return new_carry, inner_scan_outs